Updated on 2026-08-14
This commit is contained in:
parent
b0a97f53d9
commit
a4340e40a8
15 changed files with 236 additions and 40 deletions
|
|
@ -9,7 +9,6 @@ import com.tangem.domain.appcurrency.model.AppCurrency
|
|||
import com.tangem.domain.markets.TokenMarketParams
|
||||
import com.tangem.domain.models.scan.ScanResponse
|
||||
import com.tangem.domain.onramp.model.OnrampSource
|
||||
import com.tangem.domain.qrscanning.models.SourceType
|
||||
import com.tangem.domain.tokens.model.CryptoCurrency
|
||||
import com.tangem.domain.wallets.models.UserWalletId
|
||||
import kotlinx.serialization.Serializable
|
||||
|
|
@ -147,9 +146,15 @@ sealed class AppRoute(val path: String) : Route {
|
|||
|
||||
@Serializable
|
||||
data class QrScanning(
|
||||
val source: SourceType,
|
||||
val source: Source,
|
||||
val networkName: String? = null,
|
||||
) : AppRoute(path = "/$source/qr_scanning${if (networkName != null) "/$networkName" else ""}")
|
||||
) : AppRoute(path = "/$source/qr_scanning${if (networkName != null) "/$networkName" else ""}") {
|
||||
|
||||
enum class Source {
|
||||
WALLET_CONNECT,
|
||||
SEND,
|
||||
}
|
||||
}
|
||||
|
||||
@Serializable
|
||||
data class ReferralProgram(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue