We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a17cde7 commit 97955b2Copy full SHA for 97955b2
1 file changed
android/src/main/java/com/expensify/wallet/WalletModule.kt
@@ -46,8 +46,11 @@ class WalletModule internal constructor(context: ReactApplicationContext) :
46
const val E_INVALID_DATA = "E_INVALID_DATA"
47
}
48
49
- private val activity = reactApplicationContext.currentActivity ?: throw ActivityNotFoundException()
50
- private val tapAndPayClient: TapAndPayClient = TapAndPay.getClient(activity)
+ private val activity: Activity
+ get() = reactApplicationContext.currentActivity ?: throw ActivityNotFoundException()
51
+
52
+ private val tapAndPayClient: TapAndPayClient
53
+ get() = TapAndPay.getClient(activity)
54
private var pendingCreateWalletPromise: Promise? = null
55
private var pendingPushTokenizePromise: Promise? = null
56
0 commit comments