mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-03-11 17:25:32 +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),
|
||||
TextButton(
|
||||
onPressed: () => clearUpdates(hideItems),
|
||||
onPressed: () => clearUpdates(hideItems, context),
|
||||
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
|
||||
.filter()
|
||||
.idIsNotNull()
|
||||
|
|
|
|||
Loading…
Reference in a new issue