Updated on 2026-08-14
This commit is contained in:
parent
1a1cce4e70
commit
12146c8981
11 changed files with 51 additions and 12 deletions
|
|
@ -2,11 +2,13 @@ package com.tangem.core.deeplink.global
|
|||
|
||||
import com.tangem.core.deeplink.DeepLink
|
||||
|
||||
class BuyCurrencyDeepLink(val onReceive: () -> Unit) : DeepLink {
|
||||
class BuyCurrencyDeepLink(val onReceive: (txId: String) -> Unit) : DeepLink {
|
||||
|
||||
override val uri: String = "tangem://redirect?action=dismissBrowser"
|
||||
|
||||
override fun onReceive(params: Map<String, String>) {
|
||||
onReceive()
|
||||
onReceive(
|
||||
params["txId"] ?: return,
|
||||
)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue