Skip to content

Commit f15d594

Browse files
committed
fix(dark-mode): tslint errors
1 parent 47df0a6 commit f15d594

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tns-core-modules/color/compatibility-colors.ios.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import { ios } from "../utils/utils";
22

33
const majorVersion = ios.MajorVersion;
44

5-
export const activityIndicatorViewStyle = () => { return majorVersion <= 12 ? UIActivityIndicatorViewStyle.Gray : UIActivityIndicatorViewStyle.Medium };
5+
export const activityIndicatorViewStyle = () => majorVersion <= 12 ? UIActivityIndicatorViewStyle.Gray : UIActivityIndicatorViewStyle.Medium;
66

77
// UI Element Colors
8-
export const backgroundColor = () => { return majorVersion <= 12 ? UIColor.whiteColor : UIColor.systemBackgroundColor };
9-
export const labelColor = () => { return majorVersion <= 12 ? UIColor.blackColor : UIColor.labelColor };
8+
export const backgroundColor = () => majorVersion <= 12 ? UIColor.whiteColor : UIColor.systemBackgroundColor;
9+
export const labelColor = () => majorVersion <= 12 ? UIColor.blackColor : UIColor.labelColor;
1010

1111
// Standard Colors
12-
export const blueColor = () => { return majorVersion <= 12 ? UIColor.blueColor : UIColor.systemBlueColor };
12+
export const blueColor = () => majorVersion <= 12 ? UIColor.blueColor : UIColor.systemBlueColor;

0 commit comments

Comments
 (0)