Composer Update - Typing and sending a message

This commit is contained in:
Gil Eluard
2021-03-15 14:27:59 +01:00
parent aa3aafb0b0
commit eefe1e2157
39 changed files with 1103 additions and 1210 deletions
@@ -18,11 +18,13 @@
import Foundation
enum RoomInfoListTarget {
enum RoomInfoListTarget: Equatable {
case settings(_ field: RoomSettingsViewControllerField = RoomSettingsViewControllerFieldNone)
case members
case uploads
case integrations
case search
var tabIndex: UInt {
let tabIndex: UInt
@@ -33,6 +35,10 @@ enum RoomInfoListTarget {
tabIndex = 1
case .settings:
tabIndex = 2
case .integrations:
tabIndex = 3
case .search:
tabIndex = 4
}
return tabIndex