Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a808b274e6
1 changed files with 2 additions and 2 deletions
|
@ -173,9 +173,9 @@ public class DownloadIndexAdapter extends OsmandBaseExpandableListAdapter implem
|
|||
if (items != null && !items.isEmpty()) {
|
||||
list.addAll(IndexItemCategory.categorizeIndexItems(app, items));
|
||||
} else if(DownloadIndexAdapter.this.indexFiles.isEmpty()){
|
||||
list.add(new IndexItemCategory(downloadFragment.getResources().getString(R.string.no_index_file_to_download), 1));
|
||||
list.add(new IndexItemCategory(app.getString(R.string.no_index_file_to_download), 1));
|
||||
} else {
|
||||
list.add(new IndexItemCategory(downloadFragment.getResources().getString(R.string.select_index_file_to_download), 1));
|
||||
list.add(new IndexItemCategory(app.getString(R.string.select_index_file_to_download), 1));
|
||||
}
|
||||
}
|
||||
notifyDataSetChanged();
|
||||
|
|
Loading…
Reference in a new issue