Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 380c1fa

Browse files
authored
Always update inbox when receiving changes (#1730)
1 parent 1f03d5e commit 380c1fa

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Classes/Notifications/NotificationsViewController.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -333,10 +333,7 @@ FlatCacheListener {
333333
// MARK: FlatCacheListener
334334

335335
func flatCacheDidUpdate(cache: FlatCache, update: FlatCache.Update) {
336-
switch update {
337-
case .item: self.update(animated: trueUnlessReduceMotionEnabled)
338-
case .list: break
339-
}
336+
self.update(animated: trueUnlessReduceMotionEnabled)
340337
}
341338

342339
}

0 commit comments

Comments
 (0)