Border color tweak in dark mode
This commit is contained in:
@@ -111,7 +111,7 @@ class ReliefButton: UIButton
|
||||
setBackgroundInverted(isHighlighted)
|
||||
backgroundView.layer.borderColor = { traitCollection -> UIColor in
|
||||
if traitCollection.userInterfaceStyle == .dark {
|
||||
return .init(white: 0.3, alpha: 1.0)
|
||||
return .init(white: 0.34, alpha: 1.0)
|
||||
} else {
|
||||
return .white
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user