Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2014-11-06 23:40:22 +01:00
commit a808b274e6

View file

@ -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();