From cf5fd4fa899691941fbbea0fc223546d8e71792c Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sun, 25 Aug 2019 20:06:02 -0500 Subject: [PATCH] Invalidate content size correctly --- iOS/MasterFeed/Cell/MasterFeedUnreadCountView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/MasterFeed/Cell/MasterFeedUnreadCountView.swift b/iOS/MasterFeed/Cell/MasterFeedUnreadCountView.swift index 855e464c0..fdddb629a 100644 --- a/iOS/MasterFeed/Cell/MasterFeedUnreadCountView.swift +++ b/iOS/MasterFeed/Cell/MasterFeedUnreadCountView.swift @@ -22,7 +22,7 @@ class MasterFeedUnreadCountView : UIView { var unreadCount = 0 { didSet { - invalidateIntrinsicContentSize() + contentSizeIsValid = false setNeedsDisplay() } }