mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 19:34:25 +02:00
UX Rework - Rooms tab: Tap on the current tab's icon jumps to next unread.
This commit is contained in:
@@ -674,4 +674,15 @@
|
||||
[currentAlert showInViewController:self];
|
||||
}
|
||||
|
||||
#pragma mark - UITabBarDelegate
|
||||
|
||||
- (void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item
|
||||
{
|
||||
if (item.tag == TABBAR_ROOMS_INDEX && self.selectedIndex == TABBAR_ROOMS_INDEX)
|
||||
{
|
||||
// Scroll to the next room with missed notifications.
|
||||
[self.roomsViewController scrollToNextRoomWithMissedNotifications];
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user