Add a warning to the media caption composer. (#3574)

We can now remove the feature flag.
This commit is contained in:
Doug
2024-11-29 16:23:20 +00:00
committed by GitHub
parent 8d6909982d
commit 34f1c61fe2
17 changed files with 106 additions and 43 deletions
@@ -33,13 +33,13 @@ class MediaUploadPreviewScreenViewModel: MediaUploadPreviewScreenViewModelType,
mediaUploadingPreprocessor: MediaUploadingPreprocessor,
title: String?,
url: URL,
createMediaCaptionsEnabled: Bool) {
shouldShowCaptionWarning: Bool) {
self.userIndicatorController = userIndicatorController
self.roomProxy = roomProxy
self.mediaUploadingPreprocessor = mediaUploadingPreprocessor
self.url = url
super.init(initialViewState: MediaUploadPreviewScreenViewState(url: url, title: title, showMediaCaptionComposer: createMediaCaptionsEnabled))
super.init(initialViewState: MediaUploadPreviewScreenViewState(url: url, title: title, shouldShowCaptionWarning: shouldShowCaptionWarning))
}
override func process(viewAction: MediaUploadPreviewScreenViewAction) {