mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-28 19:05:49 +00:00
Fix gradient background flickering on chat switch when loading
This commit is contained in:
parent
9c1c0b58dc
commit
0908a3cf63
@ -1,6 +1,7 @@
|
||||
import Foundation
|
||||
import UIKit
|
||||
import AsyncDisplayKit
|
||||
import SwiftSignalKit
|
||||
import Display
|
||||
import TelegramCore
|
||||
import TelegramPresentationData
|
||||
@ -207,7 +208,9 @@ final class ChatLoadingPlaceholderNode: ASDisplayNode {
|
||||
self.borderNode.view.mask = self.borderMaskNode.view
|
||||
|
||||
if self.context.sharedContext.energyUsageSettings.fullTranslucency {
|
||||
self.backgroundNode?.updateIsLooping(true)
|
||||
Queue.mainQueue().after(0.3) {
|
||||
self.backgroundNode?.updateIsLooping(true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user