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
@@ -14,7 +14,7 @@ struct MediaUploadPreviewScreenCoordinatorParameters {
let mediaUploadingPreprocessor: MediaUploadingPreprocessor
let title: String?
let url: URL
let createMediaCaptionsEnabled: Bool
let shouldShowCaptionWarning: Bool
}
enum MediaUploadPreviewScreenCoordinatorAction {
@@ -36,7 +36,7 @@ final class MediaUploadPreviewScreenCoordinator: CoordinatorProtocol {
mediaUploadingPreprocessor: parameters.mediaUploadingPreprocessor,
title: parameters.title,
url: parameters.url,
createMediaCaptionsEnabled: parameters.createMediaCaptionsEnabled)
shouldShowCaptionWarning: parameters.shouldShowCaptionWarning)
}
func start() {