Updated on 2026-08-14
This commit is contained in:
parent
bd03f61333
commit
26be445734
15 changed files with 59 additions and 106 deletions
|
|
@ -1,6 +1,5 @@
|
|||
package com.tangem.presentation.activity
|
||||
|
||||
import android.app.Activity
|
||||
import android.nfc.NfcAdapter
|
||||
import android.nfc.Tag
|
||||
import android.os.Bundle
|
||||
|
|
@ -29,12 +28,12 @@ class LoadedWalletActivity : AppCompatActivity() {
|
|||
}
|
||||
}
|
||||
|
||||
override fun onBackPressed() {
|
||||
val loadedWallet = supportFragmentManager.findFragmentById(R.id.loaded_wallet_fragment) as LoadedWallet
|
||||
val data = loadedWallet.prepareResultIntent()
|
||||
data.putExtra(EXTRA_MODIFICATION, "update")
|
||||
setResult(Activity.RESULT_OK, data)
|
||||
finish()
|
||||
}
|
||||
// override fun onBackPressed() {
|
||||
// val loadedWallet = supportFragmentManager.findFragmentById(R.id.loaded_wallet_fragment) as LoadedWallet
|
||||
// val data = loadedWallet.prepareResultIntent()
|
||||
// data.putExtra(EXTRA_MODIFICATION, "update")
|
||||
// setResult(Activity.RESULT_OK, data)
|
||||
// finish()
|
||||
// }
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue