mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 11:02:48 +02:00
* Loading animation: Fix the bug where, after authentication, the animation disappeared too early and made auth screen flashed.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
Copyright 2017 Vector Creations Ltd
|
||||
Copyright 2020 New Vector Ltd
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -35,6 +36,10 @@
|
||||
#define TABBAR_GROUPS_INDEX 4
|
||||
#define TABBAR_COUNT 5
|
||||
|
||||
|
||||
@protocol MasterTabBarControllerDelegate;
|
||||
|
||||
|
||||
@interface MasterTabBarController : UITabBarController
|
||||
|
||||
@property (weak, nonatomic) IBOutlet UIBarButtonItem *settingsBarButtonItem;
|
||||
@@ -136,6 +141,7 @@
|
||||
*/
|
||||
- (void)refreshTabBarBadges;
|
||||
|
||||
@property (nonatomic, weak) id<MasterTabBarControllerDelegate> masterVCDelegate;
|
||||
|
||||
// Reference to the current auth VC. It is not nil only when the auth screen is displayed.
|
||||
@property (nonatomic, readonly) AuthenticationViewController *authViewController;
|
||||
@@ -163,5 +169,14 @@
|
||||
@property (nonatomic, readonly) MXGroup *selectedGroup;
|
||||
@property (nonatomic, readonly) MXSession *selectedGroupSession;
|
||||
|
||||
// YES while the authentication screen is displayed
|
||||
@property (nonatomic, readonly) BOOL authenticationInProgress;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@protocol MasterTabBarControllerDelegate <NSObject>
|
||||
|
||||
- (void)masterTabBarControllerDidCompleteAuthentication:(MasterTabBarController *)masterTabBarController;
|
||||
|
||||
@end;
|
||||
|
||||
Reference in New Issue
Block a user