зеркало из https://github.com/nextcloud/talk-ios.git
Only show logo-navigation-offline when no custom logo.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
This commit is contained in:
Родитель
0bd27e0335
Коммит
be652b9b0d
|
@ -37,6 +37,7 @@ extern NSString * const pushNotificationServer;
|
|||
extern BOOL const multiAccountEnabled;
|
||||
extern BOOL const forceDomain;
|
||||
extern NSString * const domain;
|
||||
extern BOOL const customNavigationLogo;
|
||||
|
||||
// Theming
|
||||
+ (UIColor *)brandColor;
|
||||
|
|
|
@ -451,7 +451,9 @@ typedef void (^FetchRoomsCompletionBlock)(BOOL success);
|
|||
- (void)setOfflineAppearance
|
||||
{
|
||||
self.addButton.enabled = NO;
|
||||
self.navigationItem.titleView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"navigationLogoOffline"]];
|
||||
if (!customNavigationLogo) {
|
||||
self.navigationItem.titleView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"navigationLogoOffline"]];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)setOnlineAppearance
|
||||
|
|
Загрузка…
Ссылка в новой задаче