mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Update
This commit is contained in:
@@ -2923,7 +2923,7 @@ private func extractAccountManagerState(records: AccountRecordsView<TelegramAcco
|
||||
private func maybeCheckForUpdates() {
|
||||
#if targetEnvironment(simulator)
|
||||
#else
|
||||
guard let buildConfig = self.buildConfig, buildConfig.isInternalBuild else {
|
||||
guard let buildConfig = self.buildConfig else {
|
||||
return
|
||||
}
|
||||
let timestamp = CFAbsoluteTimeGetCurrent()
|
||||
@@ -2939,6 +2939,9 @@ private func extractAccountManagerState(records: AccountRecordsView<TelegramAcco
|
||||
}
|
||||
}
|
||||
|> deliverOnMainQueue).start(next: { sharedContext, urlString in
|
||||
guard buildConfig.isInternalBuild || sharedContext.immediateExperimentalUISettings.enableUpdates else {
|
||||
return
|
||||
}
|
||||
guard let url = urlString.flatMap({ URL(string: $0) }) else {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user