Do not refresh cached data in constructor
This commit is contained in:
parent
3095dc353c
commit
3bcde18d5e
2 changed files with 1 additions and 1 deletions
|
@ -109,6 +109,7 @@ public class TravelDbHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
localDataHelper.refreshCachedData();
|
||||||
}
|
}
|
||||||
|
|
||||||
public File getSelectedTravelBook() {
|
public File getSelectedTravelBook() {
|
||||||
|
|
|
@ -32,7 +32,6 @@ public class TravelLocalDataHelper {
|
||||||
|
|
||||||
TravelLocalDataHelper(OsmandApplication app) {
|
TravelLocalDataHelper(OsmandApplication app) {
|
||||||
dbHelper = new WikivoyageLocalDataDbHelper(app);
|
dbHelper = new WikivoyageLocalDataDbHelper(app);
|
||||||
refreshCachedData();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void refreshCachedData() {
|
public void refreshCachedData() {
|
||||||
|
|
Loading…
Reference in a new issue