diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-02-01 14:36:43 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-02-01 14:36:43 +0000 |
commit | 5d74aa454860c2e0a04d3d8a6c96a14a53e66ad3 (patch) | |
tree | 2986dbc9dd716c8219a18cca464c2ee7ee096323 /app/src/main/res | |
parent | 9dc596b9076963d48a9ac7d08b965cb540f9983f (diff) | |
download | infinity-for-reddit-5d74aa454860c2e0a04d3d8a6c96a14a53e66ad3.tar infinity-for-reddit-5d74aa454860c2e0a04d3d8a6c96a14a53e66ad3.tar.gz infinity-for-reddit-5d74aa454860c2e0a04d3d8a6c96a14a53e66ad3.tar.bz2 infinity-for-reddit-5d74aa454860c2e0a04d3d8a6c96a14a53e66ad3.tar.lz infinity-for-reddit-5d74aa454860c2e0a04d3d8a6c96a14a53e66ad3.tar.xz infinity-for-reddit-5d74aa454860c2e0a04d3d8a6c96a14a53e66ad3.tar.zst infinity-for-reddit-5d74aa454860c2e0a04d3d8a6c96a14a53e66ad3.zip |
Showing top-level comments at first is available.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 | ||||
-rw-r--r-- | app/src/main/res/xml/main_preferences.xml | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d95e7be9..b1b6b636 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -302,6 +302,7 @@ <string name="settings_volume_keys_navigate_comments_title">Use Volume Keys to Navigate Comments in Posts</string> <string name="settings_volume_keys_navigate_posts_title">Use Volume Keys to Navigate Posts</string> <string name="settings_mute_video_title">Mute Video</string> + <string name="settings_show_top_level_comments_first_title">Show Top-level Comments First</string> <string name="settings_show_elapsed_time">Show Elapsed Time in Posts and Comments</string> <string name="settings_default_post_layout">Default Post Layout</string> <string name="settings_show_divider_in_compact_layout">Show Divider in Compact Layout</string> diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml index f79b8234..4f238327 100644 --- a/app/src/main/res/xml/main_preferences.xml +++ b/app/src/main/res/xml/main_preferences.xml @@ -39,9 +39,14 @@ <SwitchPreference app:defaultValue="false" app:key="mute_video" - android:icon="@drawable/ic_mute_preferences_24dp" + app:icon="@drawable/ic_mute_preferences_24dp" app:title="@string/settings_mute_video_title" /> + <SwitchPreference + app:defaultValue="false" + app:key="show_top_level_comments_first" + app:title="@string/settings_show_top_level_comments_first_title" /> + <ListPreference app:defaultValue="2.5" android:entries="@array/settings_lazy_mode_interval" |