diff options
author | Tijs-B <tijs.bergmans@telenet.be> | 2021-06-18 09:20:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-18 09:20:26 +0000 |
commit | cfe7ccbf59f6df0f778a8c6fe18218ea80b626e4 (patch) | |
tree | b6477b63b54809c90186a2447e4d5fe2689df962 /app/src/main/res | |
parent | f898bda4aa8e97a31085e3d2e85feb6db0d7f576 (diff) | |
parent | 92a1c1d1aecc6814a49f490f97fdbb03530bba3a (diff) | |
download | infinity-for-reddit-cfe7ccbf59f6df0f778a8c6fe18218ea80b626e4.tar infinity-for-reddit-cfe7ccbf59f6df0f778a8c6fe18218ea80b626e4.tar.gz infinity-for-reddit-cfe7ccbf59f6df0f778a8c6fe18218ea80b626e4.tar.bz2 infinity-for-reddit-cfe7ccbf59f6df0f778a8c6fe18218ea80b626e4.tar.lz infinity-for-reddit-cfe7ccbf59f6df0f778a8c6fe18218ea80b626e4.tar.xz infinity-for-reddit-cfe7ccbf59f6df0f778a8c6fe18218ea80b626e4.tar.zst infinity-for-reddit-cfe7ccbf59f6df0f778a8c6fe18218ea80b626e4.zip |
Merge branch 'Docile-Alligator:master' into master
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/values/strings.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/xml/theme_preferences.xml | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ce33e48f..abb5c5b7 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -457,6 +457,9 @@ <string name="settings_customize_dark_theme_title">Dark Theme</string> <string name="settings_customize_amoled_theme_title">Amoled Theme</string> <string name="settings_manage_themes_title">Manage Themes</string> + <string name="settings_category_material_you_title">Material You</string> + <string name="settings_enable_material_you_title">Enable Material You</string> + <string name="settings_enable_material_you_summary">Personalize Infinity based on Your Wallpaper</string> <string name="settings_custom_theme_cannot_apply_to_settings_page_summary">Custom themes cannot be applied to settings page (except toolbar, status bar and navigation bar).</string> <string name="settings_advanced_master_title">Advanced</string> <string name="settings_delete_all_subreddits_data_in_database_title">Delete All Subreddits in Database</string> diff --git a/app/src/main/res/xml/theme_preferences.xml b/app/src/main/res/xml/theme_preferences.xml index f4fb02a8..3f726ec0 100644 --- a/app/src/main/res/xml/theme_preferences.xml +++ b/app/src/main/res/xml/theme_preferences.xml @@ -40,6 +40,15 @@ app:icon="@drawable/ic_edit_24dp" app:title="@string/settings_manage_themes_title" /> + <PreferenceCategory + app:title="@string/settings_category_material_you_title" /> + + <SwitchPreference + app:defaultValue="false" + app:key="enable_material_you" + app:title="@string/settings_enable_material_you_title" + app:summary="@string/settings_enable_material_you_summary" /> + <Preference app:icon="@drawable/ic_info_preference_24dp" app:summary="@string/settings_custom_theme_cannot_apply_to_settings_page_summary" |