修改回滚逻辑的一处bug
This commit is contained in:
parent
05b98b10bf
commit
7ac83a3d08
@ -105,7 +105,7 @@ public class UpdateContext {
|
||||
SharedPreferences.Editor editor = sp.edit();
|
||||
editor.putString("currentVersion", hashName);
|
||||
if (lastVersion != null) {
|
||||
editor.putString("lastVersion", hashName);
|
||||
editor.putString("lastVersion", lastVersion);
|
||||
}
|
||||
editor.putBoolean("firstTime", true);
|
||||
editor.putBoolean("firstTimeOk", false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user