Add mask on account header fix #47
This commit is contained in:
parent
d59ba03ba3
commit
1c1ca7ba0f
|
@ -41,6 +41,7 @@ struct AccountDetailHeaderView: View {
|
|||
if let image = state.image {
|
||||
image
|
||||
.resizingMode(.aspectFill)
|
||||
.overlay(.black.opacity(0.50))
|
||||
} else if state.isLoading {
|
||||
Color.gray
|
||||
.frame(height: bannerHeight)
|
||||
|
|
Loading…
Reference in New Issue