refactoring

This commit is contained in:
Fabian Freund
2025-02-20 12:27:34 +01:00
parent b81fc1cc42
commit 490e13000b
138 changed files with 1392 additions and 3251 deletions
@@ -43,7 +43,7 @@ class GeneralSettingsRepository extends _$GeneralSettingsRepository {
return ref
.read(userDatabaseProvider)
.settingDao
.allSettingsOfPartitionKey(_partitionKey)
.getAllSettingsOfPartitionKey(_partitionKey)
.get()
.then(_deserializeSettings);
}
@@ -68,7 +68,7 @@ class GeneralSettingsRepository extends _$GeneralSettingsRepository {
final db = ref.watch(userDatabaseProvider);
final watchSub = db.settingDao
.allSettingsOfPartitionKey(_partitionKey)
.getAllSettingsOfPartitionKey(_partitionKey)
.watch()
.listen((event) {
state = _deserializeSettings(event);