commit 9510290c29a15c3598b2c576083290808bf5b205
parent 3b1238b9c75551137003e67128c2cb4586e384db
Author: SanjaySiddharth <mjsanjaysiddharth1999@gmail.com>
Date: Mon, 24 Mar 2025 20:08:28 +0530
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>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/damus/Views/SideMenuView.swift b/damus/Views/SideMenuView.swift
@@ -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
+ })
}
}
}