From 9af8c06b1c15cc66e340dd6ea3f55c5eaedd323a Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 17 Mar 2024 12:22:27 -0400 Subject: [PATCH] Use ellipsis after share action title --- Tusker/Screens/Utilities/Previewing.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Tusker/Screens/Utilities/Previewing.swift b/Tusker/Screens/Utilities/Previewing.swift index 061433e049..90fbb6170d 100644 --- a/Tusker/Screens/Utilities/Previewing.swift +++ b/Tusker/Screens/Utilities/Previewing.swift @@ -48,7 +48,7 @@ extension MenuActionProvider { var shareSection = [ openInSafariAction(url: account.url), - createAction(identifier: "share", title: "Share", systemImageName: "square.and.arrow.up", handler: { [weak self] (_) in + createAction(identifier: "share", title: "Share…", systemImageName: "square.and.arrow.up", handler: { [weak self] (_) in guard let self = self else { return } self.navigationDelegate?.showMoreOptions(forAccount: accountID, source: source) }) @@ -121,7 +121,7 @@ extension MenuActionProvider { func actionsForURL(_ url: URL, source: PopoverSource) -> [UIAction] { return [ openInSafariAction(url: url), - createAction(identifier: "share", title: "Share", systemImageName: "square.and.arrow.up", handler: { [weak self] (_) in + createAction(identifier: "share", title: "Share…", systemImageName: "square.and.arrow.up", handler: { [weak self] (_) in guard let self = self else { return } self.navigationDelegate?.showMoreOptions(forURL: url, source: source) }) @@ -182,7 +182,7 @@ extension MenuActionProvider { if let url = status.url { return [ openInSafariAction(url: url), - createAction(identifier: "share", title: "Share", systemImageName: "square.and.arrow.up", handler: { [weak self] (_) in + createAction(identifier: "share", title: "Share…", systemImageName: "square.and.arrow.up", handler: { [weak self] (_) in guard let self = self else { return } self.navigationDelegate?.showMoreOptions(forStatus: status.id, source: source) }), @@ -366,7 +366,7 @@ extension MenuActionProvider { } else { Logging.general.fault("Status missing URL: id=\(status.id, privacy: .public), reblog=\((status.reblog?.id).debugDescription, privacy: .public)") } - shareSection.append(createAction(identifier: "share", title: "Share", systemImageName: "square.and.arrow.up", handler: { [weak self] (_) in + shareSection.append(createAction(identifier: "share", title: "Share…", systemImageName: "square.and.arrow.up", handler: { [weak self] (_) in guard let self = self else { return } self.navigationDelegate?.showMoreOptions(forStatus: status.id, source: source) })) @@ -394,7 +394,7 @@ extension MenuActionProvider { } return [ openInSafariAction(url: url), - createAction(identifier: "share", title: "Share", systemImageName: "square.and.arrow.up", handler: { [weak self] (_) in + createAction(identifier: "share", title: "Share…", systemImageName: "square.and.arrow.up", handler: { [weak self] (_) in guard let self else { return } self.navigationDelegate?.showMoreOptions(forURL: url, source: source) }),