recycler: refactor displaymode usage
Remove the SHOW_ALL variant from DisplayMode, replacing it with null in SearchFragment where it was initially used. This allows all the home pager fragments to be combined into a single HomeListFragment that simply chooses a DisplayMode.
This commit is contained in:
@@ -34,15 +34,6 @@
|
||||
app:layout="@layout/item_header"
|
||||
app:title="@string/set_display">
|
||||
|
||||
<org.oxycblt.auxio.settings.ui.IntListPreference
|
||||
app:defaultValue="@integer/display_artist"
|
||||
app:entries="@array/entries_lib_display"
|
||||
app:entryValues="@array/values_lib_display"
|
||||
app:icon="@drawable/ic_artist"
|
||||
app:key="KEY_LIB_MODE"
|
||||
app:title="@string/set_lib_display"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="true"
|
||||
app:iconSpaceReserved="false"
|
||||
|
||||
Reference in New Issue
Block a user