Merge pull request #8267 from osmandapp/config_location_icon

Remove Browse map profile on/off switch
This commit is contained in:
vshcherb 2020-01-20 16:34:43 +01:00 committed by GitHub
commit 4ded5b4379
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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