fix progress dialog not showing (#106)

also, new version
This commit is contained in:
m2049r
2017-11-01 19:26:18 +01:00
committed by GitHub
parent 62b77fc987
commit 44f241f4ee
2 changed files with 4 additions and 3 deletions
@@ -73,7 +73,6 @@ public class LoginActivity extends AppCompatActivity
private static final String GENERATE_STACK = "gen";
static final int DAEMON_TIMEOUT = 500; // deamon must respond in 500ms
static final int DAEMON_DNS_TIMEOUT = 5000; // how long to wait for DNS resolver
Toolbar toolbar;
@@ -604,6 +603,8 @@ public class LoginActivity extends AppCompatActivity
if (progressDialog != null) progressDialog.show();
}
}, delay);
} else {
progressDialog.show();
}
}