Border color tweak in dark mode

This commit is contained in:
James Magahern
2021-06-14 16:37:03 -07:00
parent d959342180
commit 356baa00e7

View File

@@ -111,7 +111,7 @@ class ReliefButton: UIButton
setBackgroundInverted(isHighlighted) setBackgroundInverted(isHighlighted)
backgroundView.layer.borderColor = { traitCollection -> UIColor in backgroundView.layer.borderColor = { traitCollection -> UIColor in
if traitCollection.userInterfaceStyle == .dark { if traitCollection.userInterfaceStyle == .dark {
return .init(white: 0.3, alpha: 1.0) return .init(white: 0.34, alpha: 1.0)
} else { } else {
return .white return .white
} }