mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-02-02 18:36:44 +01:00
Further improve HUDButton contrast
This commit is contained in:
parent
b8b59674f3
commit
d0812f4275
@ -12,13 +12,13 @@ public class HUDButton: UIView {
|
||||
public static let height: CGFloat = 30
|
||||
|
||||
let background: UIVisualEffectView = {
|
||||
let backgroundView = UIVisualEffectView(effect: UIBlurEffect(style: .systemThinMaterial))
|
||||
let backgroundView = UIVisualEffectView(effect: UIBlurEffect(style: .systemMaterial))
|
||||
backgroundView.layer.masksToBounds = true
|
||||
backgroundView.layer.cornerRadius = HUDButton.height * 0.5
|
||||
return backgroundView
|
||||
}()
|
||||
|
||||
let vibrancyView = UIVisualEffectView(effect: UIVibrancyEffect(blurEffect: UIBlurEffect(style: .systemThinMaterial)))
|
||||
let vibrancyView = UIVisualEffectView(effect: UIVibrancyEffect(blurEffect: UIBlurEffect(style: .systemMaterial)))
|
||||
|
||||
public let button: UIButton = {
|
||||
let button = HighlightDimmableButton()
|
||||
|
Loading…
x
Reference in New Issue
Block a user