mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-04-22 12:51:57 +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 {
|
onPressed: () async {
|
||||||
await isar.writeTxn(() async {
|
await isar.writeTxn(() async {
|
||||||
category.shouldUpdate =
|
category.shouldUpdate =
|
||||||
!(category.shouldUpdate ?? false);
|
!(category.shouldUpdate ?? true);
|
||||||
category.updatedAt =
|
category.updatedAt =
|
||||||
DateTime.now().millisecondsSinceEpoch;
|
DateTime.now().millisecondsSinceEpoch;
|
||||||
isar.categorys.put(category);
|
isar.categorys.put(category);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue