Border color tweak in dark mode
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user