Add Favorite Feed Algorithms to bottom-bar catalogue

This commit is contained in:
davotoula
2026-05-09 09:24:18 +02:00
parent 2a9b5bc17d
commit b260c31995
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
}