Skip to content

Commit 8ca6cb4

Browse files
committed
Unverified fix.
1 parent b15d169 commit 8ca6cb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/Switch/src/MDCSwitch.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ + (UIColor *)defaultOnTintColor {
297297

298298
+ (UIColor *)defaultOffThumbColor {
299299
// Original MDCSwitchStyleLight Color
300-
return [UIColor colorWithWhite:0.980 alpha:1.0];
300+
return [UIColor colorWithWhite:0.980f alpha:1];
301301
}
302302

303303
+ (UIColor *)defaultOffTrackColor {
@@ -306,7 +306,7 @@ + (UIColor *)defaultOffTrackColor {
306306

307307
+ (UIColor *)defaultDisabledThumbColor {
308308
// Original MDCSwitchStyleLight Color
309-
return [UIColor colorWithWhite:0.741 alpha:1.0];
309+
return [UIColor colorWithWhite:0.741f alpha:1];
310310
}
311311

312312
+ (UIColor *)defaultDisabledTrackColor {

0 commit comments

Comments
 (0)