mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
MESSENGER-3157 third notification settings option
This commit is contained in:
committed by
Frank Rotermund
parent
a50402d361
commit
89f8644abc
+1
-1
@@ -37,6 +37,6 @@ extension RoomNotificationSettingsViewState {
|
||||
|
||||
extension RoomNotificationSettingsViewState {
|
||||
var roomEncryptedString: String {
|
||||
roomEncrypted ? VectorL10n.roomNotifsSettingsEncryptedRoomNotice : ""
|
||||
return roomEncrypted ? BWIL10n.roomNotifsSettingsEncryptedRoomNotice : ""
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,11 +32,20 @@ extension RoomNotificationState {
|
||||
var title: String {
|
||||
switch self {
|
||||
case .all:
|
||||
return VectorL10n.roomNotifsSettingsAllMessages
|
||||
return BWIL10n.roomNotifsSettingsAllMessages
|
||||
case .mentionsAndKeywordsOnly:
|
||||
return VectorL10n.roomNotifsSettingsMentionsAndKeywords
|
||||
case .mute:
|
||||
return VectorL10n.roomNotifsSettingsNone
|
||||
return BWIL10n.roomNotifsSettingsNone
|
||||
}
|
||||
}
|
||||
|
||||
var subtitle: String {
|
||||
switch self {
|
||||
case .all:
|
||||
return BWIL10n.roomNotifsSettingsAllDescription
|
||||
default:
|
||||
return ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user