Merge pull request #2810 from davotoula/feat/bottom-bar-favorite-algo-feeds

Add Favorite Feed Algorithms to bottom-bar catalogue
This commit is contained in:
Vitor Pamplona
2026-05-09 08:54:11 -04:00
committed by GitHub
2 changed files with 9 additions and 0 deletions
@@ -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,
@@ -118,6 +118,7 @@ private fun PreloadFor(
NavBarItem.INTEREST_SETS,
NavBarItem.EMOJI_PACKS,
NavBarItem.WALLET,
NavBarItem.FAVORITE_ALGO_FEEDS,
NavBarItem.SETTINGS,
-> Unit
}