mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-04-21 20:12:00 +00:00
fix
This commit is contained in:
parent
446ba5503d
commit
d5247a8183
1 changed files with 2 additions and 2 deletions
|
|
@ -216,7 +216,7 @@ class _UpdatesScreenState extends ConsumerState<UpdatesScreen>
|
||||||
),
|
),
|
||||||
const SizedBox(width: 15),
|
const SizedBox(width: 15),
|
||||||
TextButton(
|
TextButton(
|
||||||
onPressed: () => clearUpdates(hideItems),
|
onPressed: () => clearUpdates(hideItems, context),
|
||||||
child: Text(l10n.ok),
|
child: Text(l10n.ok),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
@ -296,7 +296,7 @@ class _UpdatesScreenState extends ConsumerState<UpdatesScreen>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void clearUpdates(List<String> hideItems) {
|
void clearUpdates(List<String> hideItems, BuildContext context) {
|
||||||
List<Update> updates = isar.updates
|
List<Update> updates = isar.updates
|
||||||
.filter()
|
.filter()
|
||||||
.idIsNotNull()
|
.idIsNotNull()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue