mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 02:52:45 +02:00
Add new settings notification feature flag and update ui entry point
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user