Updated on 2026-08-14
This commit is contained in:
parent
9f4dae9fa1
commit
236794fa00
26 changed files with 329 additions and 16 deletions
|
|
@ -10,6 +10,9 @@ import com.tangem.common.routing.entity.InitScreenLaunchMode
|
|||
import com.tangem.core.decompose.navigation.Route
|
||||
import com.tangem.domain.appcurrency.model.AppCurrency
|
||||
import com.tangem.domain.feedback.models.WalletMetaInfo
|
||||
import com.tangem.domain.markets.PreselectedMarketsInterval
|
||||
import com.tangem.domain.markets.PreselectedMarketsOrder
|
||||
import com.tangem.domain.markets.PreselectedTokenDetailsSection
|
||||
import com.tangem.domain.markets.TokenMarketParams
|
||||
import com.tangem.domain.models.account.Account
|
||||
import com.tangem.domain.models.account.AccountId
|
||||
|
|
@ -253,7 +256,10 @@ sealed class AppRoute(val path: String) : Route {
|
|||
) : AppRoute(path = "/wallet_hardware_backup/${userWalletId.stringValue}")
|
||||
|
||||
@Serializable
|
||||
data object Markets : AppRoute(path = "/markets")
|
||||
data class Markets(
|
||||
val preselectedOrder: PreselectedMarketsOrder? = null,
|
||||
val preselectedInterval: PreselectedMarketsInterval? = null,
|
||||
) : AppRoute(path = "/markets")
|
||||
|
||||
@Serializable
|
||||
data class MarketsTokenDetails(
|
||||
|
|
@ -261,6 +267,9 @@ sealed class AppRoute(val path: String) : Route {
|
|||
val appCurrency: AppCurrency,
|
||||
val shouldShowPortfolio: Boolean,
|
||||
val analyticsParams: AnalyticsParams? = null,
|
||||
val preselectedSection: PreselectedTokenDetailsSection? = null,
|
||||
val shouldOpenExchanges: Boolean = false,
|
||||
val exchangesCount: Int? = null,
|
||||
) : AppRoute(path = "/markets_token_details/${token.id}/$shouldShowPortfolio") {
|
||||
|
||||
@Serializable
|
||||
|
|
|
|||
|
|
@ -60,6 +60,10 @@ sealed class DeepLinkRoute {
|
|||
override val host: String = "promo"
|
||||
}
|
||||
|
||||
data object TokenExchanges : DeepLinkRoute() {
|
||||
override val host: String = "token_exchanges"
|
||||
}
|
||||
|
||||
data object OnboardVisa : DeepLinkRoute() {
|
||||
override val host: String = "onboard-visa"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,4 +15,7 @@ object DeeplinkConst {
|
|||
const val REF_KEY = "ref"
|
||||
const val CAMPAIGN_KEY = "campaign"
|
||||
const val NAME_KEY = "name"
|
||||
const val ORDER_KEY = "order"
|
||||
const val INTERVAL_KEY = "interval"
|
||||
const val SECTION_KEY = "section"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue