Add new settings notification feature flag and update ui entry point

This commit is contained in:
langleyd
2021-06-22 13:39:50 +01:00
parent 795cefaee7
commit 997cf15dd3
7 changed files with 33 additions and 17 deletions
@@ -24,25 +24,21 @@ enum RoomInfoListTarget: Equatable {
case uploads
case integrations
case search
var tabIndex: UInt {
let tabIndex: UInt
case notifications
var tabIndex: UInt? {
switch self {
case .members:
tabIndex = 0
return 0
case .uploads:
tabIndex = 1
return 1
case .settings:
tabIndex = 2
case .integrations:
tabIndex = 3
case .search:
tabIndex = 4
return 2
default:
return nil
}
return tabIndex
}
}
/// RoomInfoListViewController view actions exposed to view model