Add icon for Lists and create Drawer/Route entry.
This commit is contained in:
@@ -455,6 +455,13 @@ fun ListContent(
|
||||
route = route,
|
||||
)
|
||||
|
||||
IconRow(
|
||||
title = stringRes(Route.Lists.contentDescriptor),
|
||||
icon = Route.Lists.icon,
|
||||
tint = MaterialTheme.colorScheme.onBackground,
|
||||
onClick = { /*TODO*/ },
|
||||
)
|
||||
|
||||
NavigationRow(
|
||||
title = stringRes(R.string.bookmarks),
|
||||
icon = Route.Bookmarks.icon,
|
||||
|
||||
@@ -126,6 +126,13 @@ sealed class Route(
|
||||
contentDescriptor = R.string.route_home,
|
||||
)
|
||||
|
||||
object Lists :
|
||||
Route(
|
||||
route = "Lists",
|
||||
icon = R.drawable.format_list_bulleted_type,
|
||||
contentDescriptor = R.string.my_lists,
|
||||
)
|
||||
|
||||
object ContentDiscovery :
|
||||
Route(
|
||||
icon = R.drawable.ic_bookmarks,
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M5,9.5L7.5,14H2.5L5,9.5M3,4H7V8H3V4M5,20A2,2 0,0 0,7 18A2,2 0,0 0,5 16A2,2 0,0 0,3 18A2,2 0,0 0,5 20M9,5V7H21V5H9M9,19H21V17H9V19M9,13H21V11H9V13Z"/>
|
||||
</vector>
|
||||
@@ -1046,6 +1046,7 @@
|
||||
<string name="torrent_failure">Failed to open file</string>
|
||||
<string name="torrent_no_apps">No torrent apps installed to open and download the file.</string>
|
||||
|
||||
<string name="my_lists">My Lists</string>
|
||||
<string name="select_list_to_filter">Select a list to filter the feed</string>
|
||||
|
||||
<string name="temporary_account">Log off on device lock</string>
|
||||
|
||||
Reference in New Issue
Block a user