Fix build, mute bug and footer label on unencrypted builds

This commit is contained in:
langleyd
2021-07-06 11:38:29 +01:00
parent d24e0c220d
commit dc94122634
4 changed files with 14 additions and 12 deletions
@@ -43,9 +43,9 @@ class RoomNotificationSettingsFooter: UITableViewHeaderFooterView {
// let footer0 = NSMutableAttributedString(string: formattedStr, attributes: paragraphAttributes)
// let linkRange = (footer0.string as NSString).range(of: linkStr)
// footer0.addAttribute(NSAttributedString.Key.link, value: Constants.linkToAccountSettings, range: linkRange)
if footerState.showEncryptedNotice {
label.text = VectorL10n.roomNotifsSettingsEncryptedRoomNotice
}
label.text = footerState.showEncryptedNotice ? VectorL10n.roomNotifsSettingsEncryptedRoomNotice : nil
}
}