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 b15d169 commit 8ca6cb4Copy full SHA for 8ca6cb4
components/Switch/src/MDCSwitch.m
@@ -297,7 +297,7 @@ + (UIColor *)defaultOnTintColor {
297
298
+ (UIColor *)defaultOffThumbColor {
299
// Original MDCSwitchStyleLight Color
300
- return [UIColor colorWithWhite:0.980 alpha:1.0];
+ return [UIColor colorWithWhite:0.980f alpha:1];
301
}
302
303
+ (UIColor *)defaultOffTrackColor {
@@ -306,7 +306,7 @@ + (UIColor *)defaultOffTrackColor {
306
307
+ (UIColor *)defaultDisabledThumbColor {
308
309
- return [UIColor colorWithWhite:0.741 alpha:1.0];
+ return [UIColor colorWithWhite:0.741f alpha:1];
310
311
312
+ (UIColor *)defaultDisabledTrackColor {
0 commit comments