mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Add a toggle in the developer options to optimise the media uploads. (#3408)
This commit is contained in:
@@ -42,9 +42,9 @@ final class AppSettings {
|
||||
|
||||
// Feature flags
|
||||
case slidingSyncDiscovery
|
||||
case optimizeMediaUploads
|
||||
case publicSearchEnabled
|
||||
case fuzzyRoomListSearchEnabled
|
||||
case pinningEnabled
|
||||
case enableOnlySignedDeviceIsolationMode
|
||||
case identityPinningViolationNotificationsEnabled
|
||||
case knockingEnabled
|
||||
@@ -281,6 +281,9 @@ final class AppSettings {
|
||||
@UserPreference(key: UserDefaultsKeys.slidingSyncDiscovery, defaultValue: .native, storageType: .userDefaults(store))
|
||||
var slidingSyncDiscovery: SlidingSyncDiscovery
|
||||
|
||||
@UserPreference(key: UserDefaultsKeys.optimizeMediaUploads, defaultValue: false, storageType: .userDefaults(store))
|
||||
var optimizeMediaUploads
|
||||
|
||||
@UserPreference(key: UserDefaultsKeys.identityPinningViolationNotificationsEnabled, defaultValue: isDevelopmentBuild, storageType: .userDefaults(store))
|
||||
var identityPinningViolationNotificationsEnabled
|
||||
|
||||
|
||||
Reference in New Issue
Block a user