intent gatekeeper initial
This commit is contained in:
1 parent
5e6cc7a0f1
commit
57c3dcca86
27 files changed
+1413
-12
No files matched your search
@@ -30,7 +30,9 @@ class SettingDao extends DatabaseAccessor<UserDatabase> with $SettingDaoMixin {
|
||||
SettingDao(super.attachedDatabase);
|
||||
|
||||
Future<int> updateSetting(String key, String? partitionKey, Object? value) {
|
||||
final normalizedValue = (value is Iterable) ? jsonEncode(value) : value;
|
||||
final normalizedValue = (value is Iterable || value is Map)
|
||||
? jsonEncode(value)
|
||||
: value;
|
||||
|
||||
final driftvalue = normalizedValue.mapNotNull(
|
||||
(normalizedValue) => DriftAny(normalizedValue),
|
||||
|
||||
Reference in new issue
Block a user