Updated on 2026-08-14
This commit is contained in:
parent
c3da795b23
commit
d602f2af48
6 changed files with 15 additions and 12 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package com.tangem.features.swap.v2.api.choosetoken
|
||||
|
||||
import com.tangem.domain.models.currency.CryptoCurrency
|
||||
import kotlinx.coroutines.flow.SharedFlow
|
||||
|
||||
/**
|
||||
* Triggers swap token selection
|
||||
|
|
@ -8,4 +9,11 @@ import com.tangem.domain.models.currency.CryptoCurrency
|
|||
interface SwapChooseTokenNetworkTrigger {
|
||||
|
||||
suspend fun trigger(cryptoCurrency: CryptoCurrency)
|
||||
}
|
||||
|
||||
/**
|
||||
* Listens to swap token selection
|
||||
*/
|
||||
interface SwapChooseTokenNetworkListener {
|
||||
val swapChooseTokenNetworkResultFlow: SharedFlow<CryptoCurrency>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue