This commit is contained in:
Schnitzel5 2026-01-31 00:16:48 +01:00
parent 7c4ad924b1
commit 3c2bc096a9

View file

@ -418,7 +418,7 @@ class _CategoriesTabState extends ConsumerState<CategoriesTab>
onPressed: () async {
await isar.writeTxn(() async {
category.shouldUpdate =
!(category.shouldUpdate ?? true);
!(category.shouldUpdate ?? false);
category.updatedAt =
DateTime.now().millisecondsSinceEpoch;
isar.categorys.put(category);