@@ -53,8 +53,8 @@ var ImageSource = require("image-source");
53
53
} ) ( common . Fab ) ;
54
54
55
55
exports . Fab = FloatingActionButton ;
56
-
57
-
56
+
57
+
58
58
/* SETUP CSS */
59
59
var FloatingActionButtonStyler = ( function ( ) {
60
60
function FloatingActionButtonStyler ( ) {
@@ -72,7 +72,7 @@ var FloatingActionButtonStyler = (function () {
72
72
var fab = view . android ;
73
73
return fab . getBackgroundTintList ( ) ;
74
74
} ;
75
-
75
+
76
76
FloatingActionButtonStyler . registerHandlers = function ( ) {
77
77
style . registerHandler ( style . backgroundColorProperty , new style . StylePropertyChangedHandler ( FloatingActionButtonStyler . setBackgroundColorProperty , FloatingActionButtonStyler . resetBackgroundColorProperty , FloatingActionButtonStyler . getNativeBackgroundColorValue ) , "FloatingActionButton" ) ;
78
78
style . registerHandler ( style . backgroundInternalProperty , style . ignorePropertyHandler , "FloatingActionButton" ) ;
@@ -81,7 +81,7 @@ var FloatingActionButtonStyler = (function () {
81
81
} ) ( ) ;
82
82
exports . FloatingActionButtonStyler = FloatingActionButtonStyler ;
83
83
FloatingActionButtonStyler . registerHandlers ( ) ;
84
-
84
+
85
85
/* SETUP PROPERTIES */
86
86
//Background Color
87
87
function onBackColorPropertyChanged ( data ) {
@@ -109,7 +109,7 @@ function onIconPropertyChanged(data) {
109
109
} else {
110
110
var drawableId = android . content . res . Resources . getSystem ( ) . getIdentifier ( icon , "drawable" , "android" ) ;
111
111
iconDrawable = android . content . res . Resources . getSystem ( ) . getDrawable ( drawableId ) ;
112
- if ( iconDrawabele ) {
112
+ if ( iconDrawable ) {
113
113
fab . android . setImageDrawable ( iconDrawable ) ;
114
114
} else {
115
115
console . log ( "The icon: " + icon + " was not found. Check your XML icon property." ) ;
@@ -128,4 +128,4 @@ function onRippleColorPropertyChanged(data) {
128
128
console . log ( "The ripple color: " + data . newValue + " is invalid." ) ;
129
129
}
130
130
}
131
- common . Fab . rippleColorProperty . metadata . onSetNativeValue = onRippleColorPropertyChanged ;
131
+ common . Fab . rippleColorProperty . metadata . onSetNativeValue = onRippleColorPropertyChanged ;
0 commit comments