diff --git a/app/src/main/java/org/fdroid/fdroid/Preferences.java b/app/src/main/java/org/fdroid/fdroid/Preferences.java
index cff456dad..bd3309e88 100644
--- a/app/src/main/java/org/fdroid/fdroid/Preferences.java
+++ b/app/src/main/java/org/fdroid/fdroid/Preferences.java
@@ -45,7 +45,7 @@ public final class Preferences implements SharedPreferences.OnSharedPreferenceCh
public static final String PREF_AUTO_DOWNLOAD_INSTALL_UPDATES = "updateAutoDownload";
public static final String PREF_UPD_NOTIFY = "updateNotify";
public static final String PREF_THEME = "theme";
- public static final String PREF_SHOW_INCOMP_VERSIONS = "incompatibleVersions";
+ public static final String PREF_SHOW_INCOMPAT_VERSIONS = "incompatibleVersions";
public static final String PREF_SHOW_ROOT_APPS = "rooted";
public static final String PREF_SHOW_ANTI_FEATURE_APPS = "showAntiFeatureApps";
public static final String PREF_FORCE_TOUCH_APPS = "ignoreTouchscreen";
@@ -71,7 +71,7 @@ public final class Preferences implements SharedPreferences.OnSharedPreferenceCh
public static final String PREF_PANIC_HIDE = "pref_panic_hide";
public static final String PREF_HIDE_ON_LONG_PRESS_SEARCH = "hideOnLongPressSearch";
- private static final boolean DEFAULT_SHOW_INCOMP_VERSIONS = false;
+ private static final boolean DEFAULT_SHOW_INCOMPAT_VERSIONS = false;
private static final boolean DEFAULT_SHOW_ROOT_APPS = true;
private static final boolean DEFAULT_SHOW_ANTI_FEATURE_APPS = true;
private static final boolean DEFAULT_PRIVILEGED_INSTALLER = true;
@@ -221,7 +221,7 @@ public final class Preferences implements SharedPreferences.OnSharedPreferenceCh
}
public boolean showIncompatibleVersions() {
- return preferences.getBoolean(PREF_SHOW_INCOMP_VERSIONS, DEFAULT_SHOW_INCOMP_VERSIONS);
+ return preferences.getBoolean(PREF_SHOW_INCOMPAT_VERSIONS, DEFAULT_SHOW_INCOMPAT_VERSIONS);
}
public boolean showNfcDuringSwap() {
diff --git a/app/src/main/java/org/fdroid/fdroid/views/fragments/PreferencesFragment.java b/app/src/main/java/org/fdroid/fdroid/views/fragments/PreferencesFragment.java
index d91773118..c52250bec 100644
--- a/app/src/main/java/org/fdroid/fdroid/views/fragments/PreferencesFragment.java
+++ b/app/src/main/java/org/fdroid/fdroid/views/fragments/PreferencesFragment.java
@@ -37,7 +37,7 @@ public class PreferencesFragment extends PreferenceFragment
Preferences.PREF_UPD_NOTIFY,
Preferences.PREF_SHOW_ROOT_APPS,
Preferences.PREF_SHOW_ANTI_FEATURE_APPS,
- Preferences.PREF_SHOW_INCOMP_VERSIONS,
+ Preferences.PREF_SHOW_INCOMPAT_VERSIONS,
Preferences.PREF_THEME,
Preferences.PREF_FORCE_TOUCH_APPS,
Preferences.PREF_LOCAL_REPO_NAME,
@@ -132,16 +132,16 @@ public class PreferencesFragment extends PreferenceFragment
}
break;
- case Preferences.PREF_SHOW_INCOMP_VERSIONS:
+ case Preferences.PREF_SHOW_INCOMPAT_VERSIONS:
checkSummary(key, R.string.show_incompat_versions_on);
break;
case Preferences.PREF_SHOW_ROOT_APPS:
- checkSummary(key, R.string.rooted_on);
+ checkSummary(key, R.string.show_root_apps_on);
break;
case Preferences.PREF_SHOW_ANTI_FEATURE_APPS:
- checkSummary(key, R.string.hide_anti_feature_apps_on);
+ checkSummary(key, R.string.show_anti_feature_apps_on);
break;
case Preferences.PREF_FORCE_TOUCH_APPS:
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 4d19af5f1..626b136f4 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -212,10 +212,10 @@ This often occurs with apps installed via Google Play or other sources, if they
App compatibility
Include incompatible versions
Show app versions that are incompatible with the device
- Include root apps
- Show apps that require root privileges
- Include anti-feature apps
- Show apps that require anti-features
+ Include root apps
+ Show apps that require root privileges
+ Include anti-feature apps
+ Show apps that require anti-features
Include touchscreen apps
Show apps that require touchscreen regardless of hardware support
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index afd16ea34..cd4f7cb98 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -53,12 +53,12 @@
-
-
+ android:key="showAntiFeatureApps" />