wordpress-mobile / WordPress-Login-Flow-Android

Pluggable WordPress login flow for Android
GNU General Public License v2.0
14 stars 3 forks source link

Fix crash with the Woo improved magic screen on API < 24 #100

Closed hichamboushaba closed 1 year ago

hichamboushaba commented 1 year ago

The vector image img_envelope uses a gradient as fillColor, and it's not supported natively until API 24, this PR fixes the issue by using an AppCompatImageView with srcCompat.

For the commit: 523759a, it's just to move the image file to the correct folder, as it's a vector image, it doesn't make sense to put it in the mdpi folder.

Please refer to https://github.com/woocommerce/woocommerce-android/pull/7725 for test instructions.