mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 09:32:52 +02:00
MESSENGER-3157 third notification settings option
This commit is contained in:
committed by
Frank Rotermund
parent
a50402d361
commit
89f8644abc
@@ -44,8 +44,11 @@ class RoomNotificationSettingsFooter: UITableViewHeaderFooterView {
|
||||
// let linkRange = (footer0.string as NSString).range(of: linkStr)
|
||||
// footer0.addAttribute(NSAttributedString.Key.link, value: Constants.linkToAccountSettings, range: linkRange)
|
||||
|
||||
label.text = footerState.showEncryptedNotice ? VectorL10n.roomNotifsSettingsEncryptedRoomNotice : nil
|
||||
|
||||
if BWIBuildSettings.shared.notificationSettingsLikeAndroidAndWeb {
|
||||
label.text = ""
|
||||
} else {
|
||||
label.text = footerState.showEncryptedNotice ? VectorL10n.roomNotifsSettingsEncryptedRoomNotice : nil
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -161,7 +161,7 @@ final class RoomNotificationSettingsViewController: UIViewController {
|
||||
})
|
||||
})
|
||||
let footerState = RoomNotificationSettingsFooter.State(showEncryptedNotice: viewState.roomEncrypted, showAccountLink: false)
|
||||
let section0 = Section(title: VectorL10n.roomNotifsSettingsNotifyMeFor, rows: rows, footerState: footerState)
|
||||
let section0 = Section(title: BWIL10n.roomNotifsSettingsNotifyMeFor, rows: rows, footerState: footerState)
|
||||
sections = [
|
||||
section0
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user