This commit is contained in:
Ali
2023-08-18 21:20:37 +04:00
parent e81b1fee96
commit 5db3755cbf
17 changed files with 494 additions and 167 deletions

View File

@@ -1104,6 +1104,7 @@ final class MediaEditorScreenComponent: Component {
maxLength: Int(component.context.userLimits.maxStoryCaptionLength),
queryTypes: [.mention],
alwaysDarkWhenHasText: false,
resetInputContents: nil,
nextInputMode: { _ in return nextInputMode },
areVoiceMessagesAvailable: false,
presentController: { [weak self] c in

View File

@@ -254,6 +254,7 @@ final class StoryPreviewComponent: Component {
maxLength: nil,
queryTypes: [],
alwaysDarkWhenHasText: false,
resetInputContents: nil,
nextInputMode: { _ in return .stickers },
areVoiceMessagesAvailable: false,
presentController: { _ in },