Updated on 2026-08-14

This commit is contained in:
Tangem 2024-09-24 15:47:20 +04:00
parent 3440e75d5d
commit 3a14b92fd8
18 changed files with 211 additions and 35 deletions

View file

@ -179,9 +179,16 @@ sealed class AppRoute(val path: String) : Route {
@Serializable
data class ManageTokens(
val source: Source,
val userWalletId: UserWalletId? = null,
) : AppRoute(path = "/manage_tokens/$userWalletId"), RouteBundleParams {
) : AppRoute(path = "${source.name.lowercase()}/manage_tokens/$userWalletId"), RouteBundleParams {
override fun getBundle(): Bundle = bundle(serializer())
enum class Source {
STORIES,
ONBOARDING,
SETTINGS,
}
}
@Serializable