Implement fetch timer with 30 timeout along with connection timer

This commit is contained in:
estevez
2018-10-02 16:00:55 +03:00
parent b14b248f2f
commit 41297150c2
2 changed files with 14 additions and 3 deletions

View File

@ -505,6 +505,7 @@ class _MainPageState extends State<MainPage> with WidgetsBindingObserver {
String message = _lastErrorMessage;
SnackBarAction action;
switch (_errorCodeToBeShown) {
case 9:
case 1: {
action = SnackBarAction(
label: "Retry",