watch -> read

This commit is contained in:
NBA2K1 2026-04-13 21:04:48 +02:00
parent c2d19fd17d
commit 63e747fa3e

View file

@ -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!)!;