From 025700a632b86a83f4742983195380dc8e0c4e9c Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 8 Oct 2024 09:18:51 -0500 Subject: [PATCH] made internal since there is a duplicate in coreUI that is obj-c Signed-off-by: Matt Bruce --- VDS/Extensions/UIColor.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VDS/Extensions/UIColor.swift b/VDS/Extensions/UIColor.swift index 805da614..ccf08958 100644 --- a/VDS/Extensions/UIColor.swift +++ b/VDS/Extensions/UIColor.swift @@ -193,7 +193,7 @@ extension UIColor { self.init(red: CGFloat(r) / 255, green: CGFloat(g) / 255, blue: CGFloat(b) / 255, alpha: CGFloat(a) / 255) } - public func isDark() -> Bool { + internal func isDark() -> Bool { var white: CGFloat = 0 var alpha: CGFloat = 0 if getWhite(&white, alpha: &alpha) {