Add a feature flag for fuzzy room list searching

This commit is contained in:
Stefan Ceriu
2024-06-17 12:57:27 +03:00
committed by Stefan Ceriu
parent 5f9310e943
commit b614f43d00
6 changed files with 28 additions and 6 deletions
@@ -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