Skip to content

Commit

Permalink
don't dismiss when restarting activity
Browse files Browse the repository at this point in the history
  • Loading branch information
sk22 committed Oct 6, 2023
1 parent baf756e commit c2184e7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ private void confirmLogOutAll(){

private void logOut(String accountID){
AccountSessionManager.get(accountID).logOut(activity, ()->{
dismiss();
((MainActivity)activity).restartActivity();
});
}
Expand Down Expand Up @@ -317,8 +316,8 @@ private void onExtraBtnClick(View view) {
@Override
public void onClick(){
setOnDismissListener(null);
dismiss();
if (onClick != null) {
dismiss();
onClick.accept(item.getID(), false);
return;
}
Expand Down

0 comments on commit c2184e7

Please sign in to comment.