@primer-io/react-native 2.34.0 → 2.34.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -256,7 +256,7 @@ class PrimerRNHeadlessUniversalCheckoutKlarnaComponent(
|
|
|
256
256
|
Json.encodeToString(paymentCategory.toHashMap() as Map<String, String>),
|
|
257
257
|
)
|
|
258
258
|
|
|
259
|
-
val activity = currentActivity
|
|
259
|
+
val activity = reactContext.currentActivity
|
|
260
260
|
|
|
261
261
|
if (activity == null) {
|
|
262
262
|
val exception = ErrorTypeRN.NativeBridgeFailed errorTo MISSING_ACTIVITY_ERROR
|