aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/ml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-03-15 13:02:23 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-03-15 13:02:23 +0000
commit12036d05e27a2b9af25dc1de1a0a06bc3123a0a5 (patch)
treeb9f7b2d7450fa0918f963f1e53d1b91e92817064 /app/src/main/java/ml
parentcf370d215c14a6a96edd2cacf7264d07729034d3 (diff)
downloadinfinity-for-reddit-12036d05e27a2b9af25dc1de1a0a06bc3123a0a5.tar
infinity-for-reddit-12036d05e27a2b9af25dc1de1a0a06bc3123a0a5.tar.gz
infinity-for-reddit-12036d05e27a2b9af25dc1de1a0a06bc3123a0a5.tar.bz2
infinity-for-reddit-12036d05e27a2b9af25dc1de1a0a06bc3123a0a5.tar.lz
infinity-for-reddit-12036d05e27a2b9af25dc1de1a0a06bc3123a0a5.tar.xz
infinity-for-reddit-12036d05e27a2b9af25dc1de1a0a06bc3123a0a5.tar.zst
infinity-for-reddit-12036d05e27a2b9af25dc1de1a0a06bc3123a0a5.zip
Use string resource in array resource. Rearrange settings.
Diffstat (limited to 'app/src/main/java/ml')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/SettingsActivity.java3
1 files changed, 3 insertions, 0 deletions
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);
}
});
}