Fix connection error handling
This commit is contained in:
parent
84ebd0c33c
commit
9b98689012
@ -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() {
|
||||||
|
Reference in New Issue
Block a user