Fixed the issue where the update dialog was not showed on startup.

This commit is contained in:
2025-06-18 16:07:36 +08:00
parent cc08445f13
commit a46ceebf19
2 changed files with 5 additions and 3 deletions

View File

@@ -95,8 +95,7 @@ Future<void> _checkAppUpdates() async {
appdata.writeImplicitData();
ComicSourcePage.checkComicSourceUpdate();
if (appdata.settings['checkUpdateOnStart']) {
await Future.delayed(const Duration(milliseconds: 300));
await checkUpdateUi(false);
await checkUpdateUi(false, true);
}
}