Forward current composer text to the media upload preview screen as captions

This commit is contained in:
Stefan Ceriu
2026-05-22 10:12:08 +03:00
parent a8cff4ded2
commit ac20ff0fc3
9 changed files with 64 additions and 47 deletions
@@ -22,11 +22,11 @@ struct MediaUploadPreviewScreenViewState: BindableState {
var mediaEditVersion = 0
var bindings = MediaUploadPreviewScreenBindings()
var bindings: MediaUploadPreviewScreenBindings
}
struct MediaUploadPreviewScreenBindings: BindableState {
var caption = NSAttributedString()
var caption: NSAttributedString
var presendCallback: (() -> Void)?
var selectedRange = NSRange(location: 0, length: 0)