Bump the RustSDK to v1.0.79; add a feature flag for the new rust side ClientBuilder::useEventCachePersistentStorage

This commit is contained in:
Stefan Ceriu
2024-12-10 17:43:16 +02:00
committed by Stefan Ceriu
parent e59a705459
commit df3e5976ce
15 changed files with 232 additions and 38 deletions
@@ -23,6 +23,15 @@ struct DeveloperOptionsScreen: View {
LogLevelConfigurationView(logLevel: $context.logLevel)
}
Section("General") {
Toggle(isOn: $context.eventCacheEnabled) {
Text("Event cache")
}
.onChange(of: context.eventCacheEnabled) {
context.send(viewAction: .clearCache)
}
}
Section {
Picker("Discovery", selection: $context.slidingSyncDiscovery) {
Text("Proxy only").tag(AppSettings.SlidingSyncDiscovery.proxy)