This commit is contained in:
Victor Shcherb 2018-04-28 18:39:13 +03:00
parent 8dfea126b2
commit d89d32d071

View file

@ -36,7 +36,7 @@ public class TravelLocalDataHelper {
void refreshCachedData() { void refreshCachedData() {
historyMap = dbHelper.getAllHistoryMap(); historyMap = dbHelper.getAllHistoryMap();
savedArticles = dbHelper.getSavedArticles(); savedArticles = dbHelper.readSavedArticles();
} }
public List<WikivoyageSearchHistoryItem> getAllHistory() { public List<WikivoyageSearchHistoryItem> getAllHistory() {
@ -356,7 +356,7 @@ public class TravelLocalDataHelper {
} }
@NonNull @NonNull
List<TravelArticle> getSavedArticles() { List<TravelArticle> readSavedArticles() {
List<TravelArticle> res = new ArrayList<>(); List<TravelArticle> res = new ArrayList<>();
String travelBook = getSelectedTravelBookName(); String travelBook = getSelectedTravelBookName();
if (travelBook == null) { if (travelBook == null) {