mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-05-23 20:02:15 +00:00
watch -> read
This commit is contained in:
parent
c2d19fd17d
commit
63e747fa3e
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ Future<void> checkForUpdate(
|
|||
bool? manualUpdate,
|
||||
}) async {
|
||||
manualUpdate = manualUpdate ?? false;
|
||||
final checkForUpdates = ref.watch(checkForAppUpdatesProvider);
|
||||
final checkForUpdates = ref.read(checkForAppUpdatesProvider);
|
||||
if (!checkForUpdates && !manualUpdate) return;
|
||||
final l10n = l10nLocalizations(context!)!;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue