mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Composer mode UI updates (#984)
* Fixes #975 - Update editing message UI * Fixes #976 - Update reply composer mode UI to include message being replied to * Use different icon corner radii in the timeline reply view depending on its placement
This commit is contained in:
@@ -28,6 +28,7 @@ struct RoomScreen: View {
|
||||
HStack(spacing: 4.0) {
|
||||
RoomAttachmentPicker(context: context)
|
||||
messageComposer
|
||||
.environmentObject(context)
|
||||
}
|
||||
.padding([.horizontal, .bottom])
|
||||
.padding(.top, 8)
|
||||
@@ -69,7 +70,7 @@ struct RoomScreen: View {
|
||||
MessageComposer(text: $context.composerText,
|
||||
focused: $context.composerFocused,
|
||||
sendingDisabled: context.viewState.sendButtonDisabled,
|
||||
type: context.viewState.composerMode) {
|
||||
mode: context.viewState.composerMode) {
|
||||
sendMessage()
|
||||
} pasteAction: { provider in
|
||||
context.send(viewAction: .handlePasteOrDrop(provider: provider))
|
||||
|
||||
Reference in New Issue
Block a user