Browse Source

progressDialog Fix at logout

pull/24/head
Iason Karakostas 8 years ago
parent
commit
1898f4b7f2
  1. 2
      app/src/main/java/gr/thmmy/mthmmy/activities/MainActivity.java

2
app/src/main/java/gr/thmmy/mthmmy/activities/MainActivity.java

@ -178,7 +178,7 @@ public class MainActivity extends BaseActivity implements RecentFragment.OnListF
protected void onPreExecute() protected void onPreExecute()
{ //Show a progress dialog until done { //Show a progress dialog until done
progressDialog = new ProgressDialog(MainActivity.this, progressDialog = new ProgressDialog(MainActivity.this,
R.style.AppTheme); R.style.MyProgressDialog);
progressDialog.setIndeterminate(true); progressDialog.setIndeterminate(true);
progressDialog.setMessage("Logging out..."); progressDialog.setMessage("Logging out...");
progressDialog.show(); progressDialog.show();

Loading…
Cancel
Save