mirror of
https://github.com/ente-io/ente.git
synced 2025-08-07 15:09:09 +00:00
[mob] Remove unused key
This commit is contained in:
parent
7e9d9bc126
commit
165f288ad9
@ -10,9 +10,7 @@ enum AlbumSortKey {
|
||||
class LocalSettings {
|
||||
static const kCollectionSortPref = "collection_sort_pref";
|
||||
static const kPhotoGridSize = "photo_grid_size";
|
||||
static const kEnableMagicSearch = "enable_magic_search";
|
||||
static const kEnableFaceIndexing = "enable_face_indexing";
|
||||
static const kEnableFaceClustering = "enable_face_clustering";
|
||||
static const kRateUsShownCount = "rate_us_shown_count";
|
||||
static const kEnableMultiplePart = "ls.enable_multiple_part";
|
||||
static const kRateUsPromptThreshold = 2;
|
||||
@ -68,9 +66,6 @@ class LocalSettings {
|
||||
return value;
|
||||
}
|
||||
|
||||
bool get isFaceClusteringEnabled =>
|
||||
_prefs.getBool(kEnableFaceIndexing) ?? false;
|
||||
|
||||
/// toggleFaceIndexing toggles the face indexing setting and returns the new value
|
||||
Future<bool> toggleFaceIndexing() async {
|
||||
await _prefs.setBool(kEnableFaceIndexing, !isFaceIndexingEnabled);
|
||||
|
Loading…
x
Reference in New Issue
Block a user