The loadPNGImages method was changed to return ImagePack.images, but the exportAndroidRasterImages only accept ImagePack.individualScales so that no image will be exported.
Change in this PR
Skip idiom checking if target platform is Android.
Update exportAndroidRasterImages type checking.
Update makeRemoteFiles to get scale from Image.
Remove individualScales case. The case is not used.
Description
The
figma-export images
is broken for Android.Root cause
The bug was caused by this PR(supporting device idiom).
The
loadPNGImages
method was changed to returnImagePack.images
, but theexportAndroidRasterImages
only acceptImagePack.individualScales
so that no image will be exported.Change in this PR
Android
.exportAndroidRasterImages
type checking.makeRemoteFiles
to getscale
fromImage
.individualScales
case. The case is not used.