Make Toast show longer

This commit is contained in:
Peter Stuifzand 2018-04-24 21:39:34 +02:00
parent 64a679f10c
commit 3dc9734180

View File

@ -112,7 +112,7 @@ public class WebsigninTask extends AsyncTask<String, Void, Bundle> {
protected void onPostExecute(Bundle bundle) { protected void onPostExecute(Bundle bundle) {
String error = bundle.getString("ERROR"); String error = bundle.getString("ERROR");
if (error != null && error.length() > 0) { if (error != null && error.length() > 0) {
Toast.makeText(this.activity, error, Toast.LENGTH_SHORT).show(); Toast.makeText(this.activity, error, Toast.LENGTH_LONG).show();
return; return;
} }
Intent intent = new Intent(this.activity, AuthenticationActivity.class); Intent intent = new Intent(this.activity, AuthenticationActivity.class);