Fix connection error handling

This commit is contained in:
estevez-dev 2019-04-05 12:08:32 +03:00
parent 84ebd0c33c
commit 9b98689012

View File

@ -203,10 +203,10 @@ class _MainPageState extends State<MainPage> with WidgetsBindingObserver, Ticker
_subscribe().then((_) {
Connection().init(loadSettings: true, forceReconnect: true).then((__){
_fetchData();
});
}, onError: (e) {
_setErrorState(e);
});
});
}
void _quickLoad() {