Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
68111974c4
1 changed files with 2 additions and 1 deletions
|
@ -479,7 +479,8 @@ public class LocalIndexesFragment extends OsmandExpandableListFragment {
|
|||
@Override
|
||||
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
|
||||
//fixes issue when local files not shown after switching tabs
|
||||
if (listAdapter.getGroupCount() == 0 && getDownloadActivity().getLocalIndexInfos().size() > 0){
|
||||
if (listAdapter.getGroupCount() == 0 &&
|
||||
getDownloadActivity().getLocalIndexInfos().size() > 0){
|
||||
for(LocalIndexInfo info : getDownloadActivity().getLocalIndexInfos()){
|
||||
listAdapter.addLocalIndexInfo(info);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue