mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Enabling or disabling nsfw are now available.
This commit is contained in:
@@ -59,10 +59,10 @@
|
||||
android:id="@+id/subreddit_name_relative_layout_search_activity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="16dp"
|
||||
android:background="?attr/selectableItemBackground"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:background="?attr/selectableItemBackground">
|
||||
android:padding="16dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/search_in_text_view_search_activity"
|
||||
|
@@ -18,7 +18,7 @@
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<SwitchPreference
|
||||
app:defaultValue="true"
|
||||
app:defaultValue="false"
|
||||
app:key="nsfw"
|
||||
app:title="@string/settings_enable_nsfw_title"/>
|
||||
|
||||
|
@@ -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>
|
Reference in New Issue
Block a user