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((_) { _subscribe().then((_) {
Connection().init(loadSettings: true, forceReconnect: true).then((__){ Connection().init(loadSettings: true, forceReconnect: true).then((__){
_fetchData(); _fetchData();
});
}, onError: (e) { }, onError: (e) {
_setErrorState(e); _setErrorState(e);
}); });
});
} }
void _quickLoad() { void _quickLoad() {