Skip to content

Commit

Permalink
Reader: Fix an issue with follow button state not updating (#23842)
Browse files Browse the repository at this point in the history
* Fix an issue with follow button state not refreshing in Reader comments

* Fix an issue with follow button not reloading
  • Loading branch information
kean authored Nov 22, 2024
1 parent 63a60a6 commit 6336878
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,7 @@ - (void)refreshSubscriptionStatusIfNeeded
[self.followCommentsService fetchSubscriptionStatusWithSuccess:^(BOOL isSubscribed) {
// update the ReaderPost button to keep it in-sync.
weakSelf.post.isSubscribedComments = isSubscribed;
[weakSelf refreshFollowButton];
[ContextManager.sharedInstance saveContext:weakSelf.post.managedObjectContext];
} failure:^(NSError *error) {
DDLogError(@"Error fetching subscription status for post: %@", error);
Expand Down

0 comments on commit 6336878

Please sign in to comment.