Fix selection bug
This commit is contained in:
parent
5d60beb94e
commit
1f8b1c60c0
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ public class MapActivityLayers {
|
|||
adapter.item(R.string.layer_favorites).selected(settings.SHOW_FAVORITES.get() ? 1 : 0)
|
||||
.icons(R.drawable.ic_action_fav_dark, R.drawable.ic_action_fav_light).reg();
|
||||
adapter.item(R.string.layer_gpx_layer).selected(
|
||||
getApplication().getSelectedGpxHelper() != null ? 1 : 0)
|
||||
getApplication().getSelectedGpxHelper().isShowingAnyGpxFiles()? 1 : 0)
|
||||
// .icons(R.drawable.ic_action_foot_dark, R.drawable.ic_action_foot_light)
|
||||
.icons(R.drawable.ic_action_polygom_dark, R.drawable.ic_action_polygom_light)
|
||||
.reg();
|
||||
|
|
Loading…
Reference in a new issue