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();
_initLog();
_initKiwi();
await _initPref();
await _initDeviceInfo();
_initBloc();
_initKiwi();
_initEquatable();
if (features.isSupportSelfSignedCert) {
_initSelfSignedCertManager();