commit ba82f19a11b539db38c0cb470086c25c612b10b8
parent cba6b3aef7d770688d13255d0dff0f17e46ea162
Author: Jack Chakany <jack@chaker.net>
Date: Mon, 6 Mar 2023 07:53:02 -0500
Fix Damus logo overlaying over the sidebar
Changlog-Fixed: Fix Damus logo overlaying over the sidebar
Closes: #743
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/damus/ContentView.swift b/damus/ContentView.swift
@@ -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)