commit cb11087034ab7352cbf5d8ff56f8edce4d90795e
parent 49b7aee74e160bd02c1250c8e416a3fc9cb92afd
Author: Bryan Montz <bryanmontz@me.com>
Date: Sat, 29 Apr 2023 17:06:52 -0500
Fix Copy Link action does not dismiss ShareAction view
Changelog-Fixed: Fix Copy Link action does not dismiss ShareAction view
Closes: #1049
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/damus/Views/ActionBar/ShareAction.swift b/damus/Views/ActionBar/ShareAction.swift
@@ -38,6 +38,7 @@ struct ShareAction: View {
HStack(alignment: .top, spacing: 25) {
ShareActionButton(img: "link", text: NSLocalizedString("Copy Link", comment: "Button to copy link to note")) {
+ dismiss()
UIPasteboard.general.string = "https://damus.io/" + (bech32_note_id(event.id) ?? event.id)
}