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 authored and William Casarin committed 2023-03-13 12:43:51 -06:00
1 parent cba6b3aef7
commit ba82f19a11
1 file changed
+2
+2
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)