Merge pull request #8267 from osmandapp/config_location_icon
Remove Browse map profile on/off switch
This commit is contained in:
commit
4ded5b4379
1 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,9 @@ public class MainSettingsFragment extends BaseSettingsFragment {
|
|||
AndroidUtils.setBackground(selectedProfile, backgroundDrawable);
|
||||
}
|
||||
}
|
||||
if (ApplicationMode.DEFAULT.getStringKey().equals(preference.getKey())) {
|
||||
holder.findViewById(R.id.switchWidget).setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue