mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 13:23:12 +08:00 
			
		
		
		
	Prevent some repeated actions
This commit is contained in:
		| @@ -154,7 +154,7 @@ public class UpdateContext { | ||||
|         String lastVersion = getCurrentVersion(); | ||||
|         SharedPreferences.Editor editor = sp.edit(); | ||||
|         editor.putString("currentVersion", hash); | ||||
|         if (lastVersion != null) { | ||||
|         if (lastVersion != null && lastVersion != hash) { | ||||
|             editor.putString("lastVersion", lastVersion); | ||||
|         } | ||||
|         editor.putBoolean("firstTime", true); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 sunnylqm
					sunnylqm