mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Attach menu improvements
This commit is contained in:
@@ -769,7 +769,8 @@ public final class MediaPickerScreen: ViewController, AttachmentContainable {
|
||||
if !strongSelf.didSetReady && strongSelf.state != nil {
|
||||
strongSelf.didSetReady = true
|
||||
Queue.mainQueue().justDispatch {
|
||||
strongSelf._ready.set(.single(true))
|
||||
strongSelf._ready.set(.single(true)
|
||||
|> delay(0.05, queue: Queue.mainQueue()))
|
||||
|
||||
Queue.mainQueue().after(0.5, {
|
||||
strongSelf.preloadPromise.set(false)
|
||||
|
||||
Reference in New Issue
Block a user