We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b0a4963 + 0e7d4b0 commit 25ad7c1Copy full SHA for 25ad7c1
fab.android.js
@@ -34,7 +34,8 @@
34
35
if(ImageSource.isFileOrResourcePath(this.icon)){
36
iconDrawable = ImageSource.fromFileOrResource(this.icon);
37
- this._android.setImageBitmap(iconDrawable.android);
+ if(iconDrawable != null)
38
+ this._android.setImageBitmap(iconDrawable.android);
39
}
40
else{
41
var drawableId = android.content.res.Resources.getSystem().getIdentifier(this.icon, "drawable", "android");
0 commit comments