Updated on 2026-08-14

This commit is contained in:
Tangem 2019-04-01 13:15:54 +03:00
parent 4e378e2e3d
commit ce7b5e9f84
5 changed files with 39 additions and 19 deletions

View file

@ -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)
}

View file

@ -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()
}