Fix exception on first startup

This commit is contained in:
Ming Ming 2021-10-02 20:49:30 +08:00
parent 8789dd78ce
commit 8724f48a6d

View file

@ -19,10 +19,10 @@ void main() async {
WidgetsFlutterBinding.ensureInitialized(); WidgetsFlutterBinding.ensureInitialized();
_initLog(); _initLog();
_initKiwi();
await _initPref(); await _initPref();
await _initDeviceInfo(); await _initDeviceInfo();
_initBloc(); _initBloc();
_initKiwi();
_initEquatable(); _initEquatable();
if (features.isSupportSelfSignedCert) { if (features.isSupportSelfSignedCert) {
_initSelfSignedCertManager(); _initSelfSignedCertManager();