mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various fixes
This commit is contained in:
@@ -1322,7 +1322,7 @@ public final class MediaPickerScreenImpl: ViewController, MediaPickerScreen, Att
|
||||
}
|
||||
}
|
||||
|
||||
let proceed: (Bool) -> Void = { convertToJpeg in
|
||||
let proceed: (Bool) -> Void = { [weak self] convertToJpeg in
|
||||
let signals: [Any]!
|
||||
switch controller.subject {
|
||||
case .assets:
|
||||
@@ -1340,6 +1340,11 @@ public final class MediaPickerScreenImpl: ViewController, MediaPickerScreen, Att
|
||||
completion()
|
||||
self?.controller?.dismiss(animated: animated)
|
||||
})
|
||||
|
||||
Queue.mainQueue().after(1.5) {
|
||||
controller.isDismissing = false
|
||||
controller.completed = false
|
||||
}
|
||||
}
|
||||
|
||||
if asFile && hasHeic {
|
||||
|
||||
Reference in New Issue
Block a user