mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 02:22:44 +02:00
Use matrixApps for allowIntegrations, will be moved later
This commit is contained in:
@@ -34,6 +34,7 @@ final class RiotSettings: NSObject {
|
||||
static let stunServerFallback = "stunServerFallback"
|
||||
static let hideVerifyThisSessionAlert = "hideVerifyThisSessionAlert"
|
||||
static let hideReviewSessionsAlert = "hideReviewSessionsAlert"
|
||||
static let matrixApps = "matrixApps"
|
||||
}
|
||||
|
||||
static let shared = RiotSettings()
|
||||
@@ -62,7 +63,6 @@ final class RiotSettings: NSObject {
|
||||
let showDiscoverySettings: Bool = true
|
||||
let allowIdentityServerConfig: Bool = true
|
||||
let allowLocalContactsAccess: Bool = true
|
||||
let allowIntegrations: Bool = true
|
||||
let showAdvancedSettings: Bool = true
|
||||
let showLabSettings: Bool = true
|
||||
let allowChangingRageshakeSettings: Bool = true
|
||||
@@ -216,4 +216,12 @@ final class RiotSettings: NSObject {
|
||||
defaults.set(newValue, forKey: UserDefaultsKeys.hideReviewSessionsAlert)
|
||||
}
|
||||
}
|
||||
|
||||
var matrixApps: Bool {
|
||||
get {
|
||||
return defaults.bool(forKey: UserDefaultsKeys.matrixApps)
|
||||
} set {
|
||||
defaults.set(newValue, forKey: UserDefaultsKeys.matrixApps)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user