From 12036d05e27a2b9af25dc1de1a0a06bc3123a0a5 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Mon, 15 Mar 2021 21:02:23 +0800 Subject: Use string resource in array resource. Rearrange settings. --- .../docilealligator/infinityforreddit/activities/SettingsActivity.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/src/main/java/ml') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SettingsActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SettingsActivity.java index c1183636..20e215e7 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SettingsActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/SettingsActivity.java @@ -35,6 +35,7 @@ import ml.docilealligator.infinityforreddit.settings.InterfacePreferenceFragment import ml.docilealligator.infinityforreddit.settings.MainPreferenceFragment; import ml.docilealligator.infinityforreddit.settings.NsfwAndSpoilerFragment; import ml.docilealligator.infinityforreddit.settings.PostHistoryFragment; +import ml.docilealligator.infinityforreddit.settings.PostPreferenceFragment; import ml.docilealligator.infinityforreddit.utils.SharedPreferencesUtils; public class SettingsActivity extends BaseActivity implements @@ -104,6 +105,8 @@ public class SettingsActivity extends BaseActivity implements setTitle(R.string.settings_font_title); } else if (fragment instanceof GesturesAndButtonsPreferenceFragment) { setTitle(R.string.settings_gestures_and_buttons_title); + } else if (fragment instanceof PostPreferenceFragment) { + setTitle(R.string.settings_category_post_title); } }); } -- cgit v1.2.3