Disable current track without plugin
This commit is contained in:
parent
9d95656133
commit
d1435a5024
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue