Skip to content

Commit

Permalink
Add FPX drawable
Browse files Browse the repository at this point in the history
  • Loading branch information
tillh-stripe committed Aug 28, 2023
1 parent c8b1e37 commit 2cd6811
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions payments-ui-core/res/drawable/stripe_ic_paymentsheet_pm_fpx.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="14dp"
android:height="16dp"
android:viewportWidth="14"
android:viewportHeight="16">
<path
android:pathData="M13.587,6.988C12.161,5.147 10.717,3.319 9.265,1.496C9.035,1.207 8.699,0.861 8.307,1.058C8.042,1.19 7.801,1.583 7.774,1.879C7.685,2.847 7.692,3.823 7.682,4.796C7.681,4.906 7.793,5.026 7.872,5.127C8.476,5.898 9.09,6.662 9.69,7.435C9.857,7.65 9.951,7.824 9.98,7.992C9.951,8.226 9.857,8.344 9.69,8.559C9.09,9.332 8.476,10.1 7.872,10.87C7.793,10.972 7.681,11.096 7.682,11.206C7.692,12.179 7.685,13.155 7.774,14.123C7.801,14.418 8.042,14.811 8.307,14.943C8.699,15.139 9.035,14.791 9.265,14.502C10.717,12.679 12.161,10.846 13.587,9.006C13.84,8.679 13.975,8.46 14,7.992C13.975,7.652 13.84,7.315 13.587,6.988Z"
android:fillColor="#1F2C5C"
android:fillType="evenOdd" />
<path
android:pathData="M0.413,6.988C1.839,5.147 3.283,3.319 4.735,1.496C4.965,1.207 5.301,0.861 5.693,1.058C5.958,1.19 6.199,1.583 6.226,1.879C6.315,2.847 6.308,3.823 6.318,4.796C6.319,4.906 6.207,5.026 6.128,5.127C5.524,5.898 4.91,6.662 4.31,7.435C4.143,7.65 4.049,7.824 4.02,7.992C4.049,8.226 4.143,8.344 4.31,8.559C4.91,9.332 5.524,10.1 6.128,10.87C6.207,10.972 6.319,11.096 6.318,11.206C6.308,12.179 6.315,13.155 6.226,14.123C6.199,14.418 5.958,14.811 5.693,14.943C5.301,15.139 4.965,14.791 4.735,14.502C3.283,12.679 1.839,10.846 0.413,9.006C0.159,8.679 0.025,8.46 0,7.992C0.025,7.652 0.159,7.315 0.413,6.988Z"
android:fillColor="#1A8ACB"
android:fillType="evenOdd" />
</vector>
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ class LpmRepository constructor(
requiresMandate = false,
mandateRequirement = MandateRequirement.Never,
displayNameResource = R.string.stripe_paymentsheet_payment_method_fpx,
iconResource = R.drawable.stripe_ic_paymentsheet_pm_grabpay,
iconResource = R.drawable.stripe_ic_paymentsheet_pm_fpx,
lightThemeIconUrl = sharedDataSpec.selectorIcon?.lightThemePng,
darkThemeIconUrl = sharedDataSpec.selectorIcon?.darkThemePng,
tintIconOnSelection = false,
Expand Down

0 comments on commit 2cd6811

Please sign in to comment.