GroupsViewController: Add space beta announce cell.

This commit is contained in:
SBiOSoftWhare
2021-05-06 12:09:12 +02:00
parent 22ee7e35d0
commit c7c6f7701c
3 changed files with 88 additions and 0 deletions
+10
View File
@@ -73,6 +73,7 @@ final class RiotSettings: NSObject {
static let roomScreenAllowFilesAction = "roomScreenAllowFilesAction"
static let roomInfoScreenShowIntegrations = "roomInfoScreenShowIntegrations"
static let unifiedSearchScreenShowPublicDirectory = "unifiedSearchScreenShowPublicDirectory"
static let hideSpaceBetaAnnounce = "hideSpaceBetaAnnounce"
}
static let shared = RiotSettings()
@@ -634,4 +635,13 @@ final class RiotSettings: NSObject {
}
}
// MARK: - Beta
var hideSpaceBetaAnnounce: Bool {
get {
return defaults.bool(forKey: UserDefaultsKeys.hideSpaceBetaAnnounce)
} set {
defaults.set(newValue, forKey: UserDefaultsKeys.hideSpaceBetaAnnounce)
}
}
}