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:
committed by
Daniel D’Aquino
parent
3b1238b9c7
commit
9510290c29
@@ -162,6 +162,9 @@ struct SideMenuView: View {
|
|||||||
|
|
||||||
PubkeyView(pubkey: damus_state.pubkey, sidemenu: true)
|
PubkeyView(pubkey: damus_state.pubkey, sidemenu: true)
|
||||||
.pubkey_context_menu(pubkey: damus_state.pubkey)
|
.pubkey_context_menu(pubkey: damus_state.pubkey)
|
||||||
|
.simultaneousGesture(TapGesture().onEnded{
|
||||||
|
isSidebarVisible = true
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user