Allow hiding promotional apps

This commit is contained in:
Rahul Kumar Patel
2021-05-14 02:32:30 +05:30
parent ef2be6f6d9
commit 2cb10c2fd4
5 changed files with 20 additions and 1 deletions

View File

@@ -70,6 +70,15 @@
app:summary="@string/pref_ui_no_for_you_desc"
app:title="@string/pref_ui_no_for_you" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:iconSpaceReserved="false"
app:key="PREFERENCE_PROMOTIONAL"
app:dependency="PREFERENCE_FOR_YOU"
app:disableDependentsState="false"
app:summary="@string/pref_ui_no_promotional_desc"
app:title="@string/pref_ui_no_promotional" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:iconSpaceReserved="false"