This commit is contained in:
Ilya Laktyushin 2021-09-09 22:37:32 +03:00
parent 92cad1b1b5
commit e5a08a1cd8

View File

@ -6799,7 +6799,7 @@ public final class PeerInfoScreenImpl: ViewController, PeerInfoScreen {
}
}
self.presentationDataDisposable = ((updatedPresentationData?.signal ?? context.sharedContext.presentationData)
self.presentationDataDisposable = (presentationDataSignal
|> deliverOnMainQueue).start(next: { [weak self] presentationData in
if let strongSelf = self {
let previousTheme = strongSelf.presentationData.theme