Fix Damus logo overlaying over the sidebar

Changlog-Fixed: Fix Damus logo overlaying over the sidebar
Closes: #743
This commit is contained in:
Jack Chakany
2023-03-06 07:53:02 -05:00
committed by William Casarin
parent cba6b3aef7
commit ba82f19a11

View File

@@ -212,6 +212,8 @@ struct ContentView: View {
.resizable()
.frame(width:30,height:30)
.shadow(color: Color("DamusPurple"), radius: 2)
.opacity(isSideBarOpened ? 0 : 1)
.animation(isSideBarOpened ? .none : .default, value: isSideBarOpened)
} else {
timelineNavItem
.opacity(isSideBarOpened ? 0 : 1)