mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
#105 new: switch of auto check update
This commit is contained in:
@@ -330,7 +330,9 @@ class _HomePageState extends State<HomePage>
|
||||
|
||||
@override
|
||||
Future<void> afterFirstLayout(BuildContext context) async {
|
||||
doUpdate(context);
|
||||
if (_setting.autoCheckAppUpdate.fetch()!) {
|
||||
doUpdate(context);
|
||||
}
|
||||
updateHomeWidget();
|
||||
await GetIt.I.allReady();
|
||||
await _serverProvider.loadLocalData();
|
||||
|
||||
Reference in New Issue
Block a user