diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/customviews/preference/CustomFontPreferenceCategory.java b/app/src/main/java/ml/docilealligator/infinityforreddit/customviews/preference/CustomFontPreferenceCategory.java index 2cbde4bc..174dfceb 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/customviews/preference/CustomFontPreferenceCategory.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/customviews/preference/CustomFontPreferenceCategory.java @@ -10,7 +10,6 @@ import androidx.preference.PreferenceCategory; import androidx.preference.PreferenceViewHolder; import ml.docilealligator.infinityforreddit.CustomFontReceiver; -import ml.docilealligator.infinityforreddit.R; import ml.docilealligator.infinityforreddit.customtheme.CustomThemeWrapper; import ml.docilealligator.infinityforreddit.customtheme.CustomThemeWrapperReceiver; @@ -39,10 +38,10 @@ public class CustomFontPreferenceCategory extends PreferenceCategory implements super.onBindViewHolder(holder); View titleTextView = holder.findViewById(android.R.id.title); holder.setDividerAllowedAbove(false); - View iconView = holder.findViewById(R.id.icon_frame); + /*View iconView = holder.findViewById(R.id.icon_frame); if (iconView != null) { iconView.setVisibility(View.GONE); - } + }*/ if (customThemeWrapper != null) { if (titleTextView instanceof TextView) { diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 7470aae9..43ca53f8 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -660,6 +660,7 @@ Hostname Port Hide Floating Action Button + Media Cannot get the link @@ -1543,7 +1544,7 @@ Jump to Parent Comment Long Press on Post (Non-Media Area) - Long Press on Media + Long Press on Post Media Show Post Options Preview in Fullscreen diff --git a/app/src/main/res/xml/gestures_and_buttons_preferences.xml b/app/src/main/res/xml/gestures_and_buttons_preferences.xml index a2d6ac07..fdfd8da1 100644 --- a/app/src/main/res/xml/gestures_and_buttons_preferences.xml +++ b/app/src/main/res/xml/gestures_and_buttons_preferences.xml @@ -8,11 +8,39 @@ app:title="@string/settings_swipe_to_go_back_title" app:summary="@string/settings_swipe_to_go_back_summary" /> + + + + + + + + + + + + - - - - - + - - + app:key="volume_keys_navigate_posts" + app:title="@string/settings_volume_keys_navigate_posts_title" />