mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Camera and editor improvements
This commit is contained in:
@@ -320,7 +320,7 @@ public final class TelegramRootController: NavigationController, TelegramRootCon
|
||||
return nil
|
||||
}
|
||||
},
|
||||
completion: { result, resultTransition in
|
||||
completion: { result, resultTransition, dismissed in
|
||||
let subject: Signal<MediaEditorScreen.Subject?, NoError> = result
|
||||
|> map { value -> MediaEditorScreen.Subject? in
|
||||
switch value {
|
||||
@@ -488,6 +488,9 @@ public final class TelegramRootController: NavigationController, TelegramRootCon
|
||||
}
|
||||
returnToCameraImpl?()
|
||||
}
|
||||
controller.dismissed = {
|
||||
dismissed()
|
||||
}
|
||||
presentImpl?(controller)
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user