diff --git a/Classes/Notifications/NotificationsViewController.swift b/Classes/Notifications/NotificationsViewController.swift index c7353f350..3ebecbe2d 100644 --- a/Classes/Notifications/NotificationsViewController.swift +++ b/Classes/Notifications/NotificationsViewController.swift @@ -15,6 +15,7 @@ final class NotificationsViewController: BaseListViewController2, BaseListViewController2DataSource, ForegroundHandlerDelegate, FlatCacheListener, +TabNavRootViewControllerType, BaseListViewController2EmptyDataSource { private let modelController: NotificationModelController @@ -294,4 +295,13 @@ BaseListViewController2EmptyDataSource { updateUnreadState() } + // MARK: TabNavRootViewControllerType + + func didSingleTapTab() { + feed.collectionView.scrollToTop(animated: true) + } + + func didDoubleTapTab() { + didSingleTapTab() + } }