mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
crypto: rename invisible crypto flag to deviceIsolationMode (#3331)
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ protocol DeveloperOptionsProtocol: AnyObject {
|
||||
var elementCallBaseURLOverride: URL? { get set }
|
||||
var fuzzyRoomListSearchEnabled: Bool { get set }
|
||||
var pinningEnabled: Bool { get set }
|
||||
var invisibleCryptoEnabled: Bool { get set }
|
||||
var enableOnlySignedDeviceIsolationMode: Bool { get set }
|
||||
}
|
||||
|
||||
extension AppSettings: DeveloperOptionsProtocol { }
|
||||
|
||||
+3
-3
@@ -53,14 +53,14 @@ struct DeveloperOptionsScreen: View {
|
||||
}
|
||||
|
||||
Section {
|
||||
Toggle(isOn: $context.invisibleCryptoEnabled) {
|
||||
Text("Enabled Invisible Crypto")
|
||||
Toggle(isOn: $context.enableOnlySignedDeviceIsolationMode) {
|
||||
Text("Exclude not secure devices when sending/receiving messages")
|
||||
Text("Requires app reboot")
|
||||
}
|
||||
} header: {
|
||||
Text("Trust and Decoration")
|
||||
} footer: {
|
||||
Text("This setting controls how end-to-end encryption (E2EE) keys are shared. Enabling it will prevent the inclusion of devices that have not been explicitly verified by their owners.")
|
||||
Text("This setting controls how end-to-end encryption (E2EE) keys are exchanged. Enabling it will prevent the inclusion of devices that have not been explicitly verified by their owners.")
|
||||
}
|
||||
|
||||
Section {
|
||||
|
||||
Reference in New Issue
Block a user