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
|
TopProfile
|
||||||
.padding(.bottom, verticalSpacing)
|
.padding(.bottom, verticalSpacing)
|
||||||
})
|
})
|
||||||
|
.simultaneousGesture(TapGesture().onEnded {
|
||||||
|
isSidebarVisible = false
|
||||||
|
})
|
||||||
|
|
||||||
ScrollView {
|
ScrollView {
|
||||||
SidemenuItems(profile_model: profile_model, followers: followers)
|
SidemenuItems(profile_model: profile_model, followers: followers)
|
||||||
|
|||||||
Reference in New Issue
Block a user