Skip to content

Commit

Permalink
PIA-1290: Fix issue where the login screen was presented start on a c…
Browse files Browse the repository at this point in the history
…old start (#68)
  • Loading branch information
kp-juan-docal authored Feb 7, 2024
1 parent 650d306 commit 7d2c49a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,9 @@ public void isConnected(boolean isConnected) {

@Subscribe(threadMode = ThreadMode.MAIN)
public void onExpiredApiTokenEvent(ExpiredApiTokenEvent event) {
navigateToLogin();
IAccount account = PIAFactory.getInstance().getAccount(this);
if (account.loggedIn()) {
navigateToLogin();
}
}
}

0 comments on commit 7d2c49a

Please sign in to comment.