aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-10-10 13:51:10 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-10-10 13:51:10 +0000
commit43b9abd6ee455158553fbbc70df3c27eedd22b21 (patch)
tree88c48a1de545d82be50730b511b93e0737039bbb /app/src/main/res/xml
parentd40b81d7993b189142eadd79ab6b1daabba248d0 (diff)
downloadinfinity-for-reddit-43b9abd6ee455158553fbbc70df3c27eedd22b21.tar
infinity-for-reddit-43b9abd6ee455158553fbbc70df3c27eedd22b21.tar.gz
infinity-for-reddit-43b9abd6ee455158553fbbc70df3c27eedd22b21.tar.bz2
infinity-for-reddit-43b9abd6ee455158553fbbc70df3c27eedd22b21.tar.lz
infinity-for-reddit-43b9abd6ee455158553fbbc70df3c27eedd22b21.tar.xz
infinity-for-reddit-43b9abd6ee455158553fbbc70df3c27eedd22b21.tar.zst
infinity-for-reddit-43b9abd6ee455158553fbbc70df3c27eedd22b21.zip
New option: Link Handler. Removed option: Open Link In App.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/miscellaneous_preferences.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/app/src/main/res/xml/miscellaneous_preferences.xml b/app/src/main/res/xml/miscellaneous_preferences.xml
index 67a78aca..990513a0 100644
--- a/app/src/main/res/xml/miscellaneous_preferences.xml
+++ b/app/src/main/res/xml/miscellaneous_preferences.xml
@@ -7,11 +7,14 @@
app:title="@string/settings_save_front_page_scrolled_position_title"
app:summary="@string/settings_save_front_page_scrolled_position_summary" />
- <SwitchPreference
- app:defaultValue="false"
+ <ListPreference
+ app:defaultValue="0"
+ app:entries="@array/link_handler"
+ app:entryValues="@array/link_handler_values"
app:icon="@drawable/ic_link"
- app:key="open_link_in_app"
- app:title="@string/settings_open_link_in_app_title" />
+ app:key="link_handler"
+ app:title="@string/settings_link_handler_title"
+ app:useSimpleSummaryProvider="true" />
<ListPreference
app:defaultValue="0"