From ba82f19a11b539db38c0cb470086c25c612b10b8 Mon Sep 17 00:00:00 2001 From: Jack Chakany Date: Mon, 6 Mar 2023 07:53:02 -0500 Subject: [PATCH] Fix Damus logo overlaying over the sidebar Changlog-Fixed: Fix Damus logo overlaying over the sidebar Closes: #743 --- damus/ContentView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/damus/ContentView.swift b/damus/ContentView.swift index a0a224bf..aa97bf5f 100644 --- 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)