Fix bug that closes the side menu when copying npub

Changelog-Fixed: Fixed issue where the side menu would close when copying the npub
Closes: https://github.com/damus-io/damus/issues/2748
Signed-off-by: SanjaySiddharth <mjsanjaysiddharth1999@gmail.com>
This commit is contained in:
SanjaySiddharth
2025-03-24 20:08:28 +05:30
committed by Daniel D’Aquino
parent 3b1238b9c7
commit 9510290c29

View File

@@ -162,6 +162,9 @@ struct SideMenuView: View {
PubkeyView(pubkey: damus_state.pubkey, sidemenu: true)
.pubkey_context_menu(pubkey: damus_state.pubkey)
.simultaneousGesture(TapGesture().onEnded{
isSidebarVisible = true
})
}
}
}