mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 19:10:49 +02:00
Use protocol to get title from child VCs.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
#import "GeneratedInterface-Swift.h"
|
||||
|
||||
@interface GroupsViewController ()
|
||||
@interface GroupsViewController () <MasterTabBarItemDisplayProtocol>
|
||||
{
|
||||
// Tell whether a groups refresh is pending (suspended during editing mode).
|
||||
BOOL isRefreshPending;
|
||||
@@ -224,8 +224,6 @@
|
||||
[self scrollToTop:YES];
|
||||
|
||||
}];
|
||||
|
||||
[AppDelegate theDelegate].masterTabBarController.navigationItem.title = [VectorL10n titleGroups];
|
||||
[AppDelegate theDelegate].masterTabBarController.tabBar.tintColor = ThemeService.shared.theme.tintColor;
|
||||
}
|
||||
|
||||
@@ -644,4 +642,11 @@
|
||||
[self.groupsSearchBar setShowsCancelButton:NO animated:NO];
|
||||
}
|
||||
|
||||
#pragma mark - MasterTabBarItemDisplayProtocol
|
||||
|
||||
- (NSString *)masterTabBarItemTitle
|
||||
{
|
||||
return [VectorL10n titleGroups];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user