aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-10-11 12:22:09 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-10-11 12:22:09 +0000
commit9054cd659013bdaead579b62dbcf4f9719f748d9 (patch)
treeeb03862aecebb53172eb3176e994b78cca548533 /app/src/main/res
parent9e5b5c78e25ce0f7c1237a558a538a9ee0c246d1 (diff)
downloadinfinity-for-reddit-9054cd659013bdaead579b62dbcf4f9719f748d9.tar
infinity-for-reddit-9054cd659013bdaead579b62dbcf4f9719f748d9.tar.gz
infinity-for-reddit-9054cd659013bdaead579b62dbcf4f9719f748d9.tar.bz2
infinity-for-reddit-9054cd659013bdaead579b62dbcf4f9719f748d9.tar.lz
infinity-for-reddit-9054cd659013bdaead579b62dbcf4f9719f748d9.tar.xz
infinity-for-reddit-9054cd659013bdaead579b62dbcf4f9719f748d9.tar.zst
infinity-for-reddit-9054cd659013bdaead579b62dbcf4f9719f748d9.zip
Customize main page tabs for anonymous mode.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/arrays.xml9
-rw-r--r--app/src/main/res/xml/interface_preferences.xml2
2 files changed, 9 insertions, 2 deletions
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index 6f74d814..b32e3310 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -195,6 +195,15 @@
<item>@string/gilded</item>
</string-array>
+ <string-array name="settings_tab_post_type_anonymous">
+ <item>@string/home</item>
+ <item>@string/popular</item>
+ <item>@string/all</item>
+ <item>@string/subreddit</item>
+ <item>@string/multi_reddit</item>
+ <item>@string/user</item>
+ </string-array>
+
<string-array name="settings_time_format">
<!-- 2020/01/23 23:45 -->
<item>Jan 23, 2020, 23:45</item>
diff --git a/app/src/main/res/xml/interface_preferences.xml b/app/src/main/res/xml/interface_preferences.xml
index 1a4e0f86..ae1ee8e2 100644
--- a/app/src/main/res/xml/interface_preferences.xml
+++ b/app/src/main/res/xml/interface_preferences.xml
@@ -18,12 +18,10 @@
<Preference
app:title="@string/settings_customize_tabs_in_main_page_title"
- app:summary="@string/only_for_logged_in_user"
app:fragment="ml.docilealligator.infinityforreddit.settings.CustomizeMainPageTabsFragment" />
<Preference
app:title="@string/settings_customize_bottom_app_bar_title"
- app:summary="@string/only_for_logged_in_user"
app:fragment="ml.docilealligator.infinityforreddit.settings.CustomizeBottomAppBarFragment" />
<SwitchPreference