1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

Merge pull request #69 from reactnativecn/sunnylqm-patch-2

修改回滚逻辑的一处bug
This commit is contained in:
sunnylqm 2016-12-16 08:44:23 +08:00 committed by GitHub
commit 7e602d2939

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