1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-07 21:05:13 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

修改回滚逻辑的一处bug

This commit is contained in:
sunnylqm
2016-12-09 08:22:30 +08:00
committed by GitHub
parent 05b98b10bf
commit 7ac83a3d08

View File

@@ -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);