Disable current track without plugin

This commit is contained in:
Victor Shcherb 2015-03-10 01:22:08 +01:00
parent 9d95656133
commit d1435a5024

View file

@ -114,7 +114,8 @@ public class DashTrackFragment extends DashBaseFragment {
}
}
if (list.size() == 0) {
if (list.size() == 0 &&
OsmandPlugin.getEnabledPlugin(OsmandMonitoringPlugin.class) == null) {
(mainView.findViewById(R.id.main_fav)).setVisibility(View.GONE);
return;
} else {