From 1fdcfe9b80c39c2be35681491fc19145cc191267 Mon Sep 17 00:00:00 2001 From: JHubi1 Date: Sat, 14 Sep 2024 12:56:11 +0200 Subject: [PATCH] Enable update checking by default --- lib/main.dart | 2 +- lib/settings/about.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 1ebaec9..fbb5e5a 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -822,7 +822,7 @@ class _MainAppState extends State { } setState(() {}); - if (prefs!.getBool("checkUpdateOnSettingsOpen") ?? false) { + if (prefs!.getBool("checkUpdateOnSettingsOpen") ?? true) { updateDetectedOnStart = await checkUpdate(setState); } }, diff --git a/lib/settings/about.dart b/lib/settings/about.dart index ee49942..cbe6471 100644 --- a/lib/settings/about.dart +++ b/lib/settings/about.dart @@ -119,7 +119,7 @@ class _ScreenSettingsAboutState extends State { AppLocalizations.of(context)! .settingsCheckForUpdates, (prefs!.getBool("checkUpdateOnSettingsOpen") ?? - false), (value) { + true), (value) { selectionHaptic(); prefs! .setBool("checkUpdateOnSettingsOpen", value);