diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-09-15 15:43:26 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-09-15 15:43:26 +0000 |
commit | 9444599f4b4db7f41abc8f80c1826467e3cd402a (patch) | |
tree | b249ddb3d841ba6528d1fb4135eaa0cbde2845af /app/src/main/res | |
parent | 7c23be5d2fc583e1aa1aa251287fee4c35f2c751 (diff) | |
download | infinity-for-reddit-9444599f4b4db7f41abc8f80c1826467e3cd402a.tar infinity-for-reddit-9444599f4b4db7f41abc8f80c1826467e3cd402a.tar.gz infinity-for-reddit-9444599f4b4db7f41abc8f80c1826467e3cd402a.tar.bz2 infinity-for-reddit-9444599f4b4db7f41abc8f80c1826467e3cd402a.tar.lz infinity-for-reddit-9444599f4b4db7f41abc8f80c1826467e3cd402a.tar.xz infinity-for-reddit-9444599f4b4db7f41abc8f80c1826467e3cd402a.tar.zst infinity-for-reddit-9444599f4b4db7f41abc8f80c1826467e3cd402a.zip |
Add an option to enable swipe action. Fix text color in FlairBottomSheetFragment.
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/swipe_action_preferences.xml | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 46edd1fd..b881e2d9 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -481,6 +481,7 @@ <string name="settings_swipe_action_title">Swipe Action</string> <string name="settings_vibrate_when_action_triggered_title">Vibrate the phone when the action is triggered</string> <string name="settings_disable_swiping_between_tabs_title">Disable Swiping Between Tabs</string> + <string name="settings_enable_swipe_action_title">Enable Swipe Action</string> <string name="no_link_available">Cannot get the link</string> diff --git a/app/src/main/res/xml/swipe_action_preferences.xml b/app/src/main/res/xml/swipe_action_preferences.xml index 8cf502b8..423035a7 100644 --- a/app/src/main/res/xml/swipe_action_preferences.xml +++ b/app/src/main/res/xml/swipe_action_preferences.xml @@ -2,6 +2,11 @@ <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto"> <SwitchPreference + app:defaultValue="false" + app:key="enable_swipe_action" + app:title="@string/settings_enable_swipe_action_title" /> + + <SwitchPreference app:defaultValue="true" app:key="vibrate_when_action_triggered" app:title="@string/settings_vibrate_when_action_triggered_title" /> |