Skip to content

Commit

Permalink
fix: disable force update activity
Browse files Browse the repository at this point in the history
Signed-off-by: Next Alone <[email protected]>
  • Loading branch information
NextAlone committed Dec 14, 2023
1 parent 71caa80 commit f526a0a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5291,9 +5291,9 @@ public void checkAppUpdate(boolean force) {
}
if (SharedConfig.setNewAppVersionAvailable(res)) {
Log.d("checkUpdate: new version available: " + res.version);
// if (res.can_not_skip) {
showUpdateActivity(accountNum, res, false);
// }
if (res.can_not_skip) {
showUpdateActivity(accountNum, res, false);
}
NotificationCenter.getGlobalInstance().postNotificationName(NotificationCenter.appUpdateAvailable);
}
} else {
Expand Down

0 comments on commit f526a0a

Please sign in to comment.