Keep previous version

pull/170/head
M66B 6 years ago
parent dbc24f8bdf
commit 429c5002b1

@ -204,7 +204,8 @@ public class ApplicationEx extends Application {
editor.remove("folder_sync");
}
editor.putInt("previous_version", version);
if (version < BuildConfig.VERSION_CODE)
editor.putInt("previous_version", version);
editor.putInt("version", BuildConfig.VERSION_CODE);
editor.apply();

Loading…
Cancel
Save