mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 13:37:11 +00:00
Add back missing send button when media captions are disabled. (#3561)
This commit is contained in:
parent
be8c1477c0
commit
e70a95cfa2
@ -76,6 +76,16 @@ struct MediaUploadPreviewScreen: View {
|
||||
// follow the dark colour scheme on devices running with dark mode disabled.
|
||||
.tint(.compound.textActionPrimary)
|
||||
}
|
||||
|
||||
if !context.viewState.showMediaCaptionComposer {
|
||||
ToolbarItem(placement: .confirmationAction) {
|
||||
Button { context.send(viewAction: .send) } label: {
|
||||
Text(L10n.actionSend)
|
||||
}
|
||||
// Same fix as above (this button is temporary anyway).
|
||||
.tint(.compound.textActionPrimary)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user