mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 21:45:19 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
9927abd73a
@ -792,8 +792,8 @@ public class GalleryController: ViewController, StandalonePresentableController,
|
||||
let syncResult = Atomic<(Bool, (() -> Void)?)>(value: (false, nil))
|
||||
self.disposable.set(combineLatest(
|
||||
messageView,
|
||||
self.context.account.postbox.preferencesView(keys: [PreferencesKeys.appConfiguration]),
|
||||
translateToLanguage
|
||||
self.context.account.postbox.preferencesView(keys: [PreferencesKeys.appConfiguration]) |> take(1),
|
||||
translateToLanguage |> take(1)
|
||||
).start(next: { [weak self] view, preferencesView, translateToLanguage in
|
||||
let f: () -> Void = {
|
||||
if let strongSelf = self {
|
||||
|
@ -2400,6 +2400,8 @@ private func extractAccountManagerState(records: AccountRecordsView<TelegramAcco
|
||||
}
|
||||
|
||||
private func reportFailedIncomingCallKitCall() {
|
||||
if #available(iOS 14.4, *) {
|
||||
} else {
|
||||
guard let callKitIntegration = CallKitIntegration.shared else {
|
||||
return
|
||||
}
|
||||
@ -2425,6 +2427,7 @@ private func extractAccountManagerState(records: AccountRecordsView<TelegramAcco
|
||||
callKitIntegration.dropCall(uuid: uuid)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
private func authorizedContext() -> Signal<AuthorizedApplicationContext, NoError> {
|
||||
return self.context.get()
|
||||
|
Loading…
x
Reference in New Issue
Block a user