Skip to content

Commit

Permalink
Fix expiry date comparision
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed May 15, 2024
1 parent a080275 commit e23e73c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class SplashViewModel(
onTimeout(ACCOUNT_EXPIRY_TIMEOUT_MS) { null }
}

return if (accountData != null && accountData.expiryDate.isAfterNow) {
return if (accountData != null && accountData.expiryDate.isBeforeNow) {
SplashUiSideEffect.NavigateToOutOfTime
} else {
SplashUiSideEffect.NavigateToConnect
Expand Down

0 comments on commit e23e73c

Please sign in to comment.