mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Fix database version cache logic
This commit is contained in:
parent
301c8549e0
commit
d30cda26fb
@ -638,7 +638,7 @@ public class K9 extends Application {
|
||||
|
||||
int cachedVersion = sDatabaseVersionCache.getInt(KEY_LAST_ACCOUNT_DATABASE_VERSION, 0);
|
||||
|
||||
if (cachedVersion < LocalStore.DB_VERSION) {
|
||||
if (cachedVersion > 0 && cachedVersion <= LocalStore.DB_VERSION) {
|
||||
K9.setDatabasesUpToDate(false);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user