mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-03-11 17:25:32 +00:00
Merge pull request #657 from NBA2K1/fix-shouldUpdate
Fix shouldUpdate button in categories view
This commit is contained in:
commit
ea386104aa
1 changed files with 1 additions and 1 deletions
|
|
@ -418,7 +418,7 @@ class _CategoriesTabState extends ConsumerState<CategoriesTab>
|
|||
onPressed: () async {
|
||||
await isar.writeTxn(() async {
|
||||
category.shouldUpdate =
|
||||
!(category.shouldUpdate ?? false);
|
||||
!(category.shouldUpdate ?? true);
|
||||
category.updatedAt =
|
||||
DateTime.now().millisecondsSinceEpoch;
|
||||
isar.categorys.put(category);
|
||||
|
|
|
|||
Loading…
Reference in a new issue