mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-16 06:28:27 +02:00
Feature/7555 migration part 3
This commit is contained in:
committed by
SDE GitLab
parent
4515ab49e4
commit
585f4a852d
@@ -684,6 +684,15 @@ class BWIBuildSettings: NSObject {
|
||||
@UserDefault(key: UserDefaultsKeys.didBuMXMigrationInfoLevelKey, defaultValue: 0, storage: RiotSettings.defaults)
|
||||
var didShowBuMXMigrationInfoLevel
|
||||
|
||||
// Migration level already shown (BWI #8123)
|
||||
var isManagedViaMDM: Bool {
|
||||
guard let managedConfig = UserDefaults.standard.dictionary(forKey: "com.apple.configuration.managed"),
|
||||
let value = managedConfig["install_bumx_via_mdm"] as? Bool else {
|
||||
return false
|
||||
}
|
||||
|
||||
return value
|
||||
}
|
||||
|
||||
// shows the grey/green/red shield for the room avatar / user avatar
|
||||
var showEncryptionStatusBadgeOnAvatar = false
|
||||
|
||||
Reference in New Issue
Block a user