mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Use shared display link
This commit is contained in:
parent
f7a2358b08
commit
e204a05456
@ -95,7 +95,7 @@ public final class SharedDisplayLinkDriver {
|
|||||||
private var isInForeground: Bool = false
|
private var isInForeground: Bool = false
|
||||||
|
|
||||||
private init() {
|
private init() {
|
||||||
self.useNative = true
|
self.useNative = false
|
||||||
|
|
||||||
let _ = NotificationCenter.default.addObserver(forName: UIApplication.willEnterForegroundNotification, object: nil, queue: nil, using: { [weak self] _ in
|
let _ = NotificationCenter.default.addObserver(forName: UIApplication.willEnterForegroundNotification, object: nil, queue: nil, using: { [weak self] _ in
|
||||||
guard let self else {
|
guard let self else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user