mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Ignore keyboard input in "voice message mode" (#1988)
* Update rte to 2.15.0 * Ignore keyboard input when in voice message mode
This commit is contained in:
@@ -52,6 +52,15 @@ enum RoomScreenComposerMode: Equatable {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
var isTextEditingEnabled: Bool {
|
||||
switch self {
|
||||
case .default, .reply, .edit:
|
||||
return true
|
||||
case .recordVoiceMessage, .previewVoiceMessage:
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
enum RoomScreenViewAction {
|
||||
|
||||
Reference in New Issue
Block a user