Skip to content
This repository has been archived by the owner on Jun 21, 2018. It is now read-only.

Commit

Permalink
Fixed initial data load
Browse files Browse the repository at this point in the history
when migrating from Realm to Room, reload all local data first
  • Loading branch information
mudar committed Nov 13, 2017
1 parent 8f0a1b1 commit e1c6155
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/ca/mudar/mtlaucasou/Const.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ public interface UnitsDisplay {

public interface PrefsNames {
String HAS_LOADED_DATA_LEGACY = "prefs_has_loaded_data"; // version 1.0
String HAS_LOADED_DATA = "prefs_has_loaded_data_v2";
String HAS_LOADED_DATA_REALM = "prefs_has_loaded_data_v2";
String HAS_LOADED_DATA = "prefs_has_loaded_data_v3";
String IS_FIRST_LAUNCH = "prefs_is_first_launch";
String HAS_ACCEPTED_EULA = "accepted_eula";
// String VERSION_DATABASE = "prefs_version_database";
Expand Down

0 comments on commit e1c6155

Please sign in to comment.