mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:44:05 +00:00
Add a warning to the media caption composer. (#3574)
We can now remove the feature flag.
This commit is contained in:
+3
-1
@@ -14,7 +14,7 @@ enum MediaUploadPreviewScreenViewModelAction {
|
||||
struct MediaUploadPreviewScreenViewState: BindableState {
|
||||
let url: URL
|
||||
let title: String?
|
||||
let showMediaCaptionComposer: Bool
|
||||
let shouldShowCaptionWarning: Bool
|
||||
var shouldDisableInteraction = false
|
||||
|
||||
var bindings = MediaUploadPreviewScreenBindings()
|
||||
@@ -23,6 +23,8 @@ struct MediaUploadPreviewScreenViewState: BindableState {
|
||||
struct MediaUploadPreviewScreenBindings: BindableState {
|
||||
var caption = NSAttributedString()
|
||||
var presendCallback: (() -> Void)?
|
||||
|
||||
var isPresentingMediaCaptionWarning = false
|
||||
}
|
||||
|
||||
enum MediaUploadPreviewScreenViewAction {
|
||||
|
||||
Reference in New Issue
Block a user