Commit 8784de2
committed
Fix Bundle type check to avoid ClassCastException warnings
Changed from try-catch to type check with Bundle.get() to avoid Android logging warnings when color values are strings.1 parent f8f2bf2 commit 8784de2
File tree
1 file changed
+3
-6
lines changed- packages/stripe_android/android/src/main/kotlin/com/reactnativestripesdk
1 file changed
+3
-6
lines changedpackages/stripe_android/android/src/main/kotlin/com/reactnativestripesdk/PaymentSheetAppearance.kt
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
519 | | - | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
520 | 517 | | |
521 | 518 | | |
522 | 519 | | |
| |||
0 commit comments