mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 13:35:19 +00:00
Attempt to fix gallery glitch
(cherry picked from commit c4b0444e538a9f0ec8130cc6c2f1165d25b7741b)
This commit is contained in:
parent
15b769a274
commit
25a3ae793b
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user