Skip to content

Commit

Permalink
Fixed regression where account list dialog wouldn't update after logg…
Browse files Browse the repository at this point in the history
…ing in
  • Loading branch information
QuantumBadger committed Jun 24, 2016
1 parent 290d961 commit d3aefba
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.KeyEvent;

import org.quantumbadger.redreader.R;
import org.quantumbadger.redreader.account.RedditAccount;
import org.quantumbadger.redreader.account.RedditAccountChangeListener;
Expand Down Expand Up @@ -163,7 +162,7 @@ public void onRedditAccountChanged() {
AndroidApi.UI_THREAD_HANDLER.post(new Runnable() {
@Override
public void run() {
rv.getAdapter().notifyDataSetChanged();
rv.setAdapter(new AccountListAdapter(mActivity, AccountListDialog.this));
}
});
}
Expand Down

0 comments on commit d3aefba

Please sign in to comment.