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.
1 parent 7b0c97a commit da2cf36Copy full SHA for da2cf36
src/fab.android.ts
@@ -82,6 +82,9 @@ export class Fab extends FloatingActionButtonBase {
82
83
[iconProperty.setNative](value: any) {
84
let iconDrawable = null;
85
+ if (!value) {
86
+ return;
87
+ }
88
89
if (ImageSource.isFileOrResourcePath(value)) {
90
iconDrawable = ImageSource.fromFileOrResource(value);
src/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "nativescript-floatingactionbutton",
3
- "version": "4.1.1",
+ "version": "4.1.2",
4
"description":
5
"A NativeScript plugin for Material Design Floating Action Button.",
6
"main": "fab",
0 commit comments