From 723f1c0713c9c79ac005992dfcf32a52d858dee3 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 8 Oct 2021 20:21:08 +0800 Subject: New option: Main Page Back Button Action. It replaces Confirm to Exit. --- app/src/main/res/values/arrays.xml | 12 ++++++++++++ app/src/main/res/values/strings.xml | 4 +++- app/src/main/res/xml/miscellaneous_preferences.xml | 11 +++++++---- 3 files changed, 22 insertions(+), 5 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 330abd60..e59c5abd 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -508,4 +508,16 @@ 86400000 + + @string/default_in_array + @string/settings_confirm_to_exit + @string/settings_open_navigation_drawer + + + + 0 + 1 + 2 + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0a66d129..203126ca 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -190,7 +190,7 @@ Could not send this message Please select a subreddit first - The post need a good title + The post needs a good title Hey where is the link? Please select an image first Posting @@ -391,7 +391,9 @@ Automatically Try Accessing Redgifs if Videos on Gfycat are Removed. Ignore Navigation Bar in Video Player Prevent the Video Controller Having Extra Margin + Main Page Back Button Action Confirm to Exit + Open Navigation Drawer Comment Show Top-level Comments First Show Comment Divider diff --git a/app/src/main/res/xml/miscellaneous_preferences.xml b/app/src/main/res/xml/miscellaneous_preferences.xml index b17e7545..67a78aca 100644 --- a/app/src/main/res/xml/miscellaneous_preferences.xml +++ b/app/src/main/res/xml/miscellaneous_preferences.xml @@ -13,11 +13,14 @@ app:key="open_link_in_app" app:title="@string/settings_open_link_in_app_title" /> - + app:title="@string/settings_main_page_back_button_action" + app:useSimpleSummaryProvider="true" />