forked from shadowfacts/Tusker
Make more actions button on profiles more prominent
This commit is contained in:
parent
9feef054fc
commit
c8375b742a
|
@ -24,7 +24,7 @@ class VisualEffectImageButton: UIControl {
|
||||||
override func awakeFromNib() {
|
override func awakeFromNib() {
|
||||||
super.awakeFromNib()
|
super.awakeFromNib()
|
||||||
|
|
||||||
let blur = UIBlurEffect(style: .prominent)
|
let blur = UIBlurEffect(style: .systemThickMaterial)
|
||||||
let blurView = UIVisualEffectView(effect: blur)
|
let blurView = UIVisualEffectView(effect: blur)
|
||||||
blurView.translatesAutoresizingMaskIntoConstraints = false
|
blurView.translatesAutoresizingMaskIntoConstraints = false
|
||||||
let vibrancy = UIVibrancyEffect(blurEffect: blur, style: .label)
|
let vibrancy = UIVibrancyEffect(blurEffect: blur, style: .label)
|
||||||
|
|
Loading…
Reference in New Issue