Fix notifications screen not responding to tab bar/status bar scroll to top

This commit is contained in:
Shadowfacts 2024-04-01 09:45:22 -04:00
parent afcec24f86
commit 06b58cfb9c
1 changed files with 13 additions and 0 deletions

View File

@ -752,3 +752,16 @@ extension NotificationsCollectionViewController: StatusCollectionViewCellDelegat
} }
} }
} }
extension NotificationsCollectionViewController: TabBarScrollableViewController {
func tabBarScrollToTop() {
collectionView.scrollToTop()
}
}
extension NotificationsCollectionViewController: StatusBarTappableViewController {
func handleStatusBarTapped(xPosition: CGFloat) -> StatusBarTapActionResult {
collectionView.scrollToTop()
return .stop
}
}