Updated on 2026-08-14
This commit is contained in:
parent
4e378e2e3d
commit
ce7b5e9f84
5 changed files with 39 additions and 19 deletions
|
|
@ -73,6 +73,10 @@ class Navigator {
|
|||
context.startActivityForResult(PrepareTransactionActivity.callingIntent(context, ctx), Constant.REQUEST_CODE_SEND_TRANSACTION)
|
||||
}
|
||||
|
||||
fun showPrepareTransaction(context: Activity) {
|
||||
context.startActivity(PrepareTransactionActivity.callingIntent(context))
|
||||
}
|
||||
|
||||
fun showCreateNewWallet(context: Activity, ctx: TangemContext) {
|
||||
context.startActivityForResult(CreateNewWalletActivity.callingIntent(context, ctx), Constant.REQUEST_CODE_CREATE_NEW_WALLET_ACTIVITY)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,15 @@ class LogoActivity : AppCompatActivity() {
|
|||
}
|
||||
|
||||
private fun hide() {
|
||||
navigator.showMain(this)
|
||||
when (BuildConfig.FLAVOR) {
|
||||
Constant.FLAVOR_TANGEM_CARDANO -> {
|
||||
navigator.showPrepareTransaction(this)
|
||||
}
|
||||
else -> {
|
||||
navigator.showMain(this)
|
||||
}
|
||||
}
|
||||
|
||||
finish()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue