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:
Alfonso Grillo
2023-10-31 12:47:10 +01:00
committed by GitHub
parent 87f772647b
commit b50b74b175
5 changed files with 18 additions and 6 deletions
@@ -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 {