forked from shadowfacts/Tusker
Fix profile moved view appearing behind avatar/header images
This commit is contained in:
parent
ca65f84137
commit
f25031afd4
|
@ -207,6 +207,7 @@ class ProfileHeaderView: UIView {
|
||||||
|
|
||||||
private func createMovedOverlayView(movedTo: AccountMO) -> ProfileHeaderMovedOverlayView {
|
private func createMovedOverlayView(movedTo: AccountMO) -> ProfileHeaderMovedOverlayView {
|
||||||
let overlay = ProfileHeaderMovedOverlayView()
|
let overlay = ProfileHeaderMovedOverlayView()
|
||||||
|
overlay.layer.zPosition = 1000
|
||||||
overlay.delegate = delegate
|
overlay.delegate = delegate
|
||||||
overlay.updateUI(movedTo: movedTo)
|
overlay.updateUI(movedTo: movedTo)
|
||||||
overlay.translatesAutoresizingMaskIntoConstraints = false
|
overlay.translatesAutoresizingMaskIntoConstraints = false
|
||||||
|
|
Loading…
Reference in New Issue