mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Provide alert option to show mandatory update details
The user will then not be able to dismiss to modal presentation and has to install the update from there.
This commit is contained in:
@@ -364,8 +364,11 @@
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated {
|
||||
if (_isAppStoreEnvironment)
|
||||
if (_isAppStoreEnvironment) {
|
||||
self.appStoreButtonState = AppStoreButtonStateOffline;
|
||||
} else if (self.mandatoryUpdate) {
|
||||
self.navigationItem.leftBarButtonItem = nil;
|
||||
}
|
||||
_updateManager.currentHockeyViewController = self;
|
||||
[super viewWillAppear:animated];
|
||||
[self redrawTableView];
|
||||
|
||||
Reference in New Issue
Block a user