From 0e45ff9f2ace1f9a886db3ea5e8fd3e33fd5cfe6 Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Wed, 4 Sep 2024 00:54:05 +0800 Subject: [PATCH] Remove useless delay in splash screen --- app/lib/widget/splash/bloc.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/app/lib/widget/splash/bloc.dart b/app/lib/widget/splash/bloc.dart index d094e103..d72fa1e8 100644 --- a/app/lib/widget/splash/bloc.dart +++ b/app/lib/widget/splash/bloc.dart @@ -67,7 +67,6 @@ class _Bloc extends Bloc<_Event, _State> with BlocLogger { try { _log.info("[_handleUpgrade] Upgrade: $lastVersion -> ${k.version}"); await _upgrade(lastVersion, emit); - await Future.delayed(Duration(seconds: 5)); _log.info("[_handleUpgrade] Upgrade done"); } finally { // ensure user has closed the changelog