Skip to content

Commit

Permalink
Upload reduced quality media by default 😢
Browse files Browse the repository at this point in the history
Move the setting out of the feature flags section in the file.
  • Loading branch information
pixlwave committed Oct 31, 2024
1 parent 9add624 commit 57acffc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ElementX/Sources/Application/AppSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ final class AppSettings {
case pusherProfileTag
case logLevel
case viewSourceEnabled
case optimizeMediaUploads
case appAppearance
case sharePresence
case hideUnreadMessagesBadge
Expand All @@ -42,7 +43,6 @@ final class AppSettings {

// Feature flags
case slidingSyncDiscovery
case optimizeMediaUploads
case publicSearchEnabled
case fuzzyRoomListSearchEnabled
case enableOnlySignedDeviceIsolationMode
Expand Down Expand Up @@ -237,6 +237,9 @@ final class AppSettings {

@UserPreference(key: UserDefaultsKeys.viewSourceEnabled, defaultValue: isDevelopmentBuild, storageType: .userDefaults(store))
var viewSourceEnabled

@UserPreference(key: UserDefaultsKeys.optimizeMediaUploads, defaultValue: true, storageType: .userDefaults(store))
var optimizeMediaUploads

// MARK: - Element Call

Expand Down Expand Up @@ -275,9 +278,6 @@ 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.knockingEnabled, defaultValue: false, storageType: .userDefaults(store))
var knockingEnabled

Expand Down

0 comments on commit 57acffc

Please sign in to comment.