diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-02-20 04:27:51 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-02-20 04:27:51 +0000 |
commit | 59465390a9e5ec06bfd8d3b46fbcaeedf560f563 (patch) | |
tree | c351ccfef0a4839487b3ee1c151b2588bf6232ad /app/src/main/res/xml | |
parent | 97993709e2a2c286583df1cba445a351a7b9d676 (diff) | |
download | infinity-for-reddit-59465390a9e5ec06bfd8d3b46fbcaeedf560f563.tar infinity-for-reddit-59465390a9e5ec06bfd8d3b46fbcaeedf560f563.tar.gz infinity-for-reddit-59465390a9e5ec06bfd8d3b46fbcaeedf560f563.tar.bz2 infinity-for-reddit-59465390a9e5ec06bfd8d3b46fbcaeedf560f563.tar.lz infinity-for-reddit-59465390a9e5ec06bfd8d3b46fbcaeedf560f563.tar.xz infinity-for-reddit-59465390a9e5ec06bfd8d3b46fbcaeedf560f563.tar.zst infinity-for-reddit-59465390a9e5ec06bfd8d3b46fbcaeedf560f563.zip |
Add a nsfw toggle in the nav drawer.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r-- | app/src/main/res/xml/main_preferences.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/xml/notification_preferences.xml | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml index 89d0a032..550525ef 100644 --- a/app/src/main/res/xml/main_preferences.xml +++ b/app/src/main/res/xml/main_preferences.xml @@ -53,13 +53,14 @@ android:entries="@array/settings_lazy_mode_interval" app:entryValues="@array/settings_lazy_mode_interval_values" app:key="lazy_mode_interval" - app:icon="@drawable/ic_outline_access_time_24px" + app:icon="@drawable/ic_outline_access_time_24dp" app:title="@string/settings_lazy_mode_interval_title" app:useSimpleSummaryProvider="true" /> <SwitchPreference app:defaultValue="false" app:key="nsfw" + app:icon="@drawable/ic_nsfw_on_24dp" app:title="@string/settings_enable_nsfw_title" /> <SwitchPreference diff --git a/app/src/main/res/xml/notification_preferences.xml b/app/src/main/res/xml/notification_preferences.xml index 8ef76485..2b547479 100644 --- a/app/src/main/res/xml/notification_preferences.xml +++ b/app/src/main/res/xml/notification_preferences.xml @@ -13,7 +13,7 @@ app:entries="@array/settings_notification_interval" app:entryValues="@array/settings_notification_interval_values" app:key="notificaiton_interval" - app:icon="@drawable/ic_outline_access_time_24px" + app:icon="@drawable/ic_outline_access_time_24dp" app:title="@string/settings_notification_interval_title" app:useSimpleSummaryProvider="true" app:isPreferenceVisible="false" /> |