legacy sendMode code separation to have RiotSwiftUI be able to build.

This commit is contained in:
Mauro Romito
2022-10-12 15:14:41 +02:00
parent fe5669690b
commit 1571afd621
6 changed files with 33 additions and 6 deletions
@@ -96,6 +96,13 @@ extension FormatType {
}
}
enum ComposerSendMode: Equatable {
case send
case edit
case reply
case createDM
}
enum ComposerViewAction {
case cancel
}
@@ -18,7 +18,7 @@ import Foundation
struct ComposerViewState: BindableState {
var eventSenderDisplayName: String?
var sendMode: RoomInputToolbarViewSendMode = .send
var sendMode: ComposerSendMode = .send
}
extension ComposerViewState {