Fix missing tab bar while navigating
Set isSidebarVisible to false Changelog-Fixed: missing tab bar on navigation Signed-off-by: Swift Coder <scoder1747@gmail.com>
This commit is contained in:
committed by
Daniel D’Aquino
parent
eeb6547d3e
commit
177c55cf3d
@@ -174,6 +174,9 @@ struct SideMenuView: View {
|
||||
TopProfile
|
||||
.padding(.bottom, verticalSpacing)
|
||||
})
|
||||
.simultaneousGesture(TapGesture().onEnded {
|
||||
isSidebarVisible = false
|
||||
})
|
||||
|
||||
ScrollView {
|
||||
SidemenuItems(profile_model: profile_model, followers: followers)
|
||||
|
||||
Reference in New Issue
Block a user