From 68fe58d9f35c4964703e470f10f9a41f3f900dcf Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Fri, 1 Apr 2022 09:21:03 -0700 Subject: [PATCH] rename local hex var to hexValue to make it distinct from property name --- apple/OmnivoreKit/Sources/Utils/ColorUtils.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apple/OmnivoreKit/Sources/Utils/ColorUtils.swift b/apple/OmnivoreKit/Sources/Utils/ColorUtils.swift index faad3bbbc..66d5f4bc2 100644 --- a/apple/OmnivoreKit/Sources/Utils/ColorUtils.swift +++ b/apple/OmnivoreKit/Sources/Utils/ColorUtils.swift @@ -38,8 +38,8 @@ public extension Color { } var hex: String? { - if let hex = toHex() { - return "#\(hex)" + if let hexValue = toHex() { + return "#\(hexValue)" } else { return nil }