mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various fixes
This commit is contained in:
@@ -346,7 +346,7 @@ public final class TelegramRootController: NavigationController, TelegramRootCon
|
||||
return nil
|
||||
}
|
||||
},
|
||||
completion: { result, resultTransition, dismissed in
|
||||
completion: { result, resultTransition, storyRemainingCount, dismissed in
|
||||
let subject: Signal<MediaEditorScreenImpl.Subject?, NoError> = result
|
||||
|> map { value -> MediaEditorScreenImpl.Subject? in
|
||||
func editorPIPPosition(_ position: CameraScreenImpl.PIPPosition) -> MediaEditorScreenImpl.PIPPosition {
|
||||
@@ -422,7 +422,7 @@ public final class TelegramRootController: NavigationController, TelegramRootCon
|
||||
|
||||
let controller = MediaEditorScreenImpl(
|
||||
context: context,
|
||||
mode: .storyEditor,
|
||||
mode: .storyEditor(remainingCount: storyRemainingCount ?? 1),
|
||||
subject: subject,
|
||||
customTarget: mediaEditorCustomTarget,
|
||||
transitionIn: transitionIn,
|
||||
|
||||
Reference in New Issue
Block a user