Updated on 2026-08-14
This commit is contained in:
parent
fa91188e72
commit
276a28800e
2 changed files with 4 additions and 8 deletions
|
|
@ -16,13 +16,9 @@ internal enum class SwapMarketCategory(
|
||||||
val title: TextReference,
|
val title: TextReference,
|
||||||
val order: TokenMarketListConfig.Order,
|
val order: TokenMarketListConfig.Order,
|
||||||
) {
|
) {
|
||||||
Trending(
|
MarketCap(
|
||||||
title = resourceReference(R.string.markets_sort_by_trending_title),
|
title = resourceReference(R.string.markets_sort_by_rating_title),
|
||||||
order = TokenMarketListConfig.Order.Trending,
|
order = TokenMarketListConfig.Order.ByRating,
|
||||||
),
|
|
||||||
ExperiencedBuyers(
|
|
||||||
title = resourceReference(R.string.markets_sort_by_experienced_buyers_title),
|
|
||||||
order = TokenMarketListConfig.Order.Buyers,
|
|
||||||
),
|
),
|
||||||
TopGainers(
|
TopGainers(
|
||||||
title = resourceReference(R.string.markets_sort_by_top_gainers_title),
|
title = resourceReference(R.string.markets_sort_by_top_gainers_title),
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ internal class MarketBlockDelegate @AssistedInject constructor(
|
||||||
private val visibleMarketItemIds = MutableStateFlow<List<CryptoCurrency.RawID>>(emptyList())
|
private val visibleMarketItemIds = MutableStateFlow<List<CryptoCurrency.RawID>>(emptyList())
|
||||||
private val visibleDefaultMarketItemIds = MutableStateFlow<List<CryptoCurrency.RawID>>(emptyList())
|
private val visibleDefaultMarketItemIds = MutableStateFlow<List<CryptoCurrency.RawID>>(emptyList())
|
||||||
|
|
||||||
private val selectedCategoryFlow = MutableStateFlow(SwapMarketCategory.Trending)
|
private val selectedCategoryFlow = MutableStateFlow(SwapMarketCategory.MarketCap)
|
||||||
|
|
||||||
val addToPortfolioSlot: SlotNavigation<AddToPortfolioRoute> = SlotNavigation()
|
val addToPortfolioSlot: SlotNavigation<AddToPortfolioRoute> = SlotNavigation()
|
||||||
val addToPortfolioManager: AddToPortfolioManager = addToPortfolioManagerFactory.create(
|
val addToPortfolioManager: AddToPortfolioManager = addToPortfolioManagerFactory.create(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue