Commit f8f2bf2
committed
Fix Android color parsing when values are strings
Bundle.getBundle() throws ClassCastException when value is a string. Wrapped in try-catch to mirror React Native's ReadableMap behavior.1 parent 2213418 commit f8f2bf2
File tree
1 file changed
+6
-1
lines changed- packages/stripe_android/android/src/main/kotlin/com/reactnativestripesdk
1 file changed
+6
-1
lines changedpackages/stripe_android/android/src/main/kotlin/com/reactnativestripesdk/PaymentSheetAppearance.kt
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
514 | | - | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
515 | 520 | | |
516 | 521 | | |
517 | 522 | | |
| |||
0 commit comments