diff --git a/android/app/src/main/java/app/organicmaps/settings/SettingsPrefsFragment.java b/android/app/src/main/java/app/organicmaps/settings/SettingsPrefsFragment.java index 72c07ec630..5286c26d17 100644 --- a/android/app/src/main/java/app/organicmaps/settings/SettingsPrefsFragment.java +++ b/android/app/src/main/java/app/organicmaps/settings/SettingsPrefsFragment.java @@ -231,6 +231,8 @@ public class SettingsPrefsFragment extends BaseXmlSettingsFragment implements La if (!SharedPropertiesUtils.shouldShowEmulateBadStorageSetting(requireContext())) removePreference(getString(R.string.pref_settings_general), pref); + else + pref.setVisible(true); } private void initAutoZoomPrefsCallbacks() diff --git a/android/app/src/main/res/xml/prefs_main.xml b/android/app/src/main/res/xml/prefs_main.xml index e162e025d6..3ce113a9fa 100644 --- a/android/app/src/main/res/xml/prefs_main.xml +++ b/android/app/src/main/res/xml/prefs_main.xml @@ -68,6 +68,7 @@ android:title="@string/setting_emulate_bad_storage" app:singleLineTitle="false" android:defaultValue="false" + app:isPreferenceVisible="false" android:order="13"/>