mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Keep previous version
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user