Refactor TravelLocalDataHelper#refreshCachedData()
This commit is contained in:
parent
c9acd57e1f
commit
f9e1588e4b
1 changed files with 1 additions and 2 deletions
|
@ -36,8 +36,7 @@ public class TravelLocalDataHelper {
|
|||
|
||||
void refreshCachedData() {
|
||||
historyMap = dbHelper.getAllHistoryMap();
|
||||
savedArticles.clear();
|
||||
savedArticles.addAll(dbHelper.readSavedArticles());
|
||||
savedArticles = dbHelper.readSavedArticles();
|
||||
}
|
||||
|
||||
public List<WikivoyageSearchHistoryItem> getAllHistory() {
|
||||
|
|
Loading…
Reference in a new issue