mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Set NSFW, NSFW blurring and spoiler blurring on a per-user basis. Only close the account section in the navigation drawer after dismissing if the account section is open.
This commit is contained in:
@@ -65,22 +65,10 @@
|
||||
app:icon="@drawable/ic_exit_24dp"
|
||||
app:title="@string/settings_confirm_to_exit" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:key="nsfw"
|
||||
<Preference
|
||||
app:icon="@drawable/ic_nsfw_on_24dp"
|
||||
app:title="@string/settings_enable_nsfw_title" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="true"
|
||||
app:key="blur_nsfw"
|
||||
app:title="@string/settings_blur_nsfw_title"
|
||||
app:isPreferenceVisible="false" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="false"
|
||||
app:key="blur_spoiler"
|
||||
app:title="@string/settings_blur_spoiler_title" />
|
||||
app:title="@string/settings_nsfw_and_spoiler_title"
|
||||
app:fragment="ml.docilealligator.infinityforreddit.Settings.NsfwAndBlurringFragment"/>
|
||||
|
||||
<Preference
|
||||
app:title="@string/settings_advanced_master_title"
|
||||
|
Reference in New Issue
Block a user