Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions android/src/main/java/com/expensify/wallet/WalletModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ class WalletModule internal constructor(context: ReactApplicationContext) :
const val E_INVALID_DATA = "E_INVALID_DATA"
}

private val activity = reactApplicationContext.currentActivity ?: throw ActivityNotFoundException()
private val tapAndPayClient: TapAndPayClient = TapAndPay.getClient(activity)
private val activity: Activity
get() = reactApplicationContext.currentActivity ?: throw ActivityNotFoundException()

private val tapAndPayClient: TapAndPayClient
get() = TapAndPay.getClient(activity)
private var pendingCreateWalletPromise: Promise? = null
private var pendingPushTokenizePromise: Promise? = null

Expand Down