Skip to content

Commit

Permalink
fix bugs of logout
Browse files Browse the repository at this point in the history
  • Loading branch information
aboots committed Sep 18, 2020
1 parent dfe8fbe commit 97a0a77
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import android.app.Activity;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.os.Bundle;
import android.text.SpannableString;
Expand Down Expand Up @@ -186,6 +187,8 @@ public void run() {
public void run() {
// postsGeneralAdaptor2.notifyDataSetChanged();
circularProgressButton.stopAnimation();
circularProgressButton.revertAnimation();
circularProgressButton.setBackgroundResource(R.drawable.button);
Toast.makeText(MainActivity.this, getString(R.string.login_successful), Toast.LENGTH_LONG).show();
Intent intent = new Intent(MainActivity.this, MainPage.class);
startActivity(intent);
Expand Down

0 comments on commit 97a0a77

Please sign in to comment.