Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

Commit 9e33225

Browse files
committed
fix: fix version
2 parents bffa16a + 35c2ac9 commit 9e33225

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

android/src/main/java/so/onekey/app/wallet/lite/OKLiteManager.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,12 @@ class OKLiteManager(private val context: ReactApplicationContext) :
5252
private var mCurrentCardState: CardState? = null
5353

5454
private val mActivityEventListener = object : BaseActivityEventListener() {
55-
override fun onNewIntent(intent: Intent?) {
55+
override fun onNewIntent(intent: Intent) {
5656
super.onNewIntent(intent)
57-
val action = intent?.action
57+
val action = intent.action
58+
if (action == null) {
59+
return
60+
}
5861
if ((action == NfcAdapter.ACTION_NDEF_DISCOVERED)
5962
|| action == NfcAdapter.ACTION_TECH_DISCOVERED
6063
|| action == NfcAdapter.ACTION_TAG_DISCOVERED

0 commit comments

Comments
 (0)