mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Add a feature flag for fuzzy room list searching
This commit is contained in:
committed by
Stefan Ceriu
parent
5f9310e943
commit
b614f43d00
@@ -45,6 +45,7 @@ final class AppSettings {
|
||||
// Feature flags
|
||||
case publicSearchEnabled
|
||||
case draftRestoringEnabled
|
||||
case fuzzyRoomListSearchEnabled
|
||||
}
|
||||
|
||||
private static var suiteName: String = InfoPlistReader.main.appGroupIdentifier
|
||||
@@ -272,6 +273,9 @@ final class AppSettings {
|
||||
|
||||
@UserPreference(key: UserDefaultsKeys.draftRestoringEnabled, defaultValue: false, storageType: .userDefaults(store))
|
||||
var draftRestoringEnabled
|
||||
|
||||
@UserPreference(key: UserDefaultsKeys.fuzzyRoomListSearchEnabled, defaultValue: false, storageType: .userDefaults(store))
|
||||
var fuzzyRoomListSearchEnabled
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user