aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-08-22 01:45:27 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-08-22 01:45:27 +0000
commita2fe95912b00a926f42089bc7e455507306164af (patch)
treec22a98dd21f4c4b58ea5d0b0fb47f7aaa25ee1e5 /app/src/main/res/xml
parent9bad5024ff2fe13d9fe366ed40a2ea8662620c18 (diff)
downloadinfinity-for-reddit-a2fe95912b00a926f42089bc7e455507306164af.tar
infinity-for-reddit-a2fe95912b00a926f42089bc7e455507306164af.tar.gz
infinity-for-reddit-a2fe95912b00a926f42089bc7e455507306164af.tar.bz2
infinity-for-reddit-a2fe95912b00a926f42089bc7e455507306164af.tar.lz
infinity-for-reddit-a2fe95912b00a926f42089bc7e455507306164af.tar.xz
infinity-for-reddit-a2fe95912b00a926f42089bc7e455507306164af.tar.zst
infinity-for-reddit-a2fe95912b00a926f42089bc7e455507306164af.zip
Enabling or disabling nsfw are now available.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/xml/main_preferences.xml2
-rw-r--r--app/src/main/res/xml/notification_preferences.xml5
2 files changed, 4 insertions, 3 deletions
diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml
index 5d624d7f..41026a87 100644
--- a/app/src/main/res/xml/main_preferences.xml
+++ b/app/src/main/res/xml/main_preferences.xml
@@ -18,7 +18,7 @@
app:useSimpleSummaryProvider="true" />
<SwitchPreference
- app:defaultValue="true"
+ app:defaultValue="false"
app:key="nsfw"
app:title="@string/settings_enable_nsfw_title"/>
diff --git a/app/src/main/res/xml/notification_preferences.xml b/app/src/main/res/xml/notification_preferences.xml
index 1bb81106..93956533 100644
--- a/app/src/main/res/xml/notification_preferences.xml
+++ b/app/src/main/res/xml/notification_preferences.xml
@@ -9,12 +9,13 @@
app:title="@string/settings_notification_enable_notification_title"/>
<ListPreference
- app:defaultValue="2"
+ app:defaultValue="1"
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:title="@string/settings_notification_interval_title"
- app:useSimpleSummaryProvider="true" />
+ app:useSimpleSummaryProvider="true"
+ app:isPreferenceVisible="false" />
</androidx.preference.PreferenceScreen> \ No newline at end of file