mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Remove the event cache feature flag, it's enabled by default on the SDK and we haven't had any bug reports for it.
This commit is contained in:
-1
@@ -44,7 +44,6 @@ protocol DeveloperOptionsProtocol: AnyObject {
|
||||
var enableOnlySignedDeviceIsolationMode: Bool { get set }
|
||||
var elementCallBaseURLOverride: URL? { get set }
|
||||
var knockingEnabled: Bool { get set }
|
||||
var eventCacheEnabled: Bool { get set }
|
||||
}
|
||||
|
||||
extension AppSettings: DeveloperOptionsProtocol { }
|
||||
|
||||
+1
-10
@@ -30,16 +30,7 @@ struct DeveloperOptionsScreen: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Section("General") {
|
||||
Toggle(isOn: $context.eventCacheEnabled) {
|
||||
Text("Event cache")
|
||||
}
|
||||
.onChange(of: context.eventCacheEnabled) {
|
||||
context.send(viewAction: .clearCache)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Section("Room List") {
|
||||
Toggle(isOn: $context.publicSearchEnabled) {
|
||||
Text("Public search")
|
||||
|
||||
Reference in New Issue
Block a user