Fix Damus logo overlaying over the sidebar
Changlog-Fixed: Fix Damus logo overlaying over the sidebar Closes: #743
This commit is contained in:
committed by
William Casarin
parent
cba6b3aef7
commit
ba82f19a11
@@ -212,6 +212,8 @@ struct ContentView: View {
|
|||||||
.resizable()
|
.resizable()
|
||||||
.frame(width:30,height:30)
|
.frame(width:30,height:30)
|
||||||
.shadow(color: Color("DamusPurple"), radius: 2)
|
.shadow(color: Color("DamusPurple"), radius: 2)
|
||||||
|
.opacity(isSideBarOpened ? 0 : 1)
|
||||||
|
.animation(isSideBarOpened ? .none : .default, value: isSideBarOpened)
|
||||||
} else {
|
} else {
|
||||||
timelineNavItem
|
timelineNavItem
|
||||||
.opacity(isSideBarOpened ? 0 : 1)
|
.opacity(isSideBarOpened ? 0 : 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user