mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-08 11:45:14 +08:00
Merge pull request #69 from reactnativecn/sunnylqm-patch-2
修改回滚逻辑的一处bug
This commit is contained in:
@@ -105,7 +105,7 @@ public class UpdateContext {
|
|||||||
SharedPreferences.Editor editor = sp.edit();
|
SharedPreferences.Editor editor = sp.edit();
|
||||||
editor.putString("currentVersion", hashName);
|
editor.putString("currentVersion", hashName);
|
||||||
if (lastVersion != null) {
|
if (lastVersion != null) {
|
||||||
editor.putString("lastVersion", hashName);
|
editor.putString("lastVersion", lastVersion);
|
||||||
}
|
}
|
||||||
editor.putBoolean("firstTime", true);
|
editor.putBoolean("firstTime", true);
|
||||||
editor.putBoolean("firstTimeOk", false);
|
editor.putBoolean("firstTimeOk", false);
|
||||||
|
Reference in New Issue
Block a user