Add Favorite Feed Algorithms to bottom-bar catalogue
This commit is contained in:
+8
@@ -62,6 +62,7 @@ enum class NavBarItem {
|
||||
PRODUCTS,
|
||||
EMOJI_SETS,
|
||||
SETTINGS,
|
||||
FAVORITE_ALGO_FEEDS,
|
||||
}
|
||||
|
||||
data class NavBarItemDef(
|
||||
@@ -157,6 +158,13 @@ val NavBarCatalog: Map<NavBarItem, NavBarItemDef> =
|
||||
icon = MaterialSymbols.Tag,
|
||||
resolveRoute = { Route.InterestSets },
|
||||
),
|
||||
NavBarItem.FAVORITE_ALGO_FEEDS to
|
||||
NavBarItemDef(
|
||||
id = NavBarItem.FAVORITE_ALGO_FEEDS,
|
||||
labelRes = R.string.favorite_dvms_title,
|
||||
icon = MaterialSymbols.Star,
|
||||
resolveRoute = { Route.EditFavoriteAlgoFeeds },
|
||||
),
|
||||
NavBarItem.EMOJI_PACKS to
|
||||
NavBarItemDef(
|
||||
id = NavBarItem.EMOJI_PACKS,
|
||||
|
||||
+1
@@ -118,6 +118,7 @@ private fun PreloadFor(
|
||||
NavBarItem.INTEREST_SETS,
|
||||
NavBarItem.EMOJI_PACKS,
|
||||
NavBarItem.WALLET,
|
||||
NavBarItem.FAVORITE_ALGO_FEEDS,
|
||||
NavBarItem.SETTINGS,
|
||||
-> Unit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user