mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Add warnings to docs for threading, properly dispatch internally
This commit is contained in:
@@ -545,7 +545,9 @@ typedef NS_ENUM(NSInteger, BITUpdateAlertViewTag) {
|
||||
if ([self hasNewerMandatoryVersion] || [self expiryDateReached]) {
|
||||
[updateViewController setMandatoryUpdate: YES];
|
||||
}
|
||||
[self showView:updateViewController];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self showView:updateViewController];
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user