From 22803668d2bde9267ca247808e65e5255ca40d34 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 9 Jun 2021 17:09:45 -0400 Subject: [PATCH] Remove ellipsis from Share menu item 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 36e30b28..14e3ac00 100644 --- a/Tusker/Screens/Utilities/Previewing.swift +++ b/Tusker/Screens/Utilities/Previewing.swift @@ -40,7 +40,7 @@ extension MenuPreviewProvider { guard mastodonController.loggedIn else { return [ openInSafariAction(url: account.url), - createAction(identifier: "share", title: "Share...", systemImageName: "square.and.arrow.up", handler: { [weak self, weak sourceView] (_) in + createAction(identifier: "share", title: "Share", systemImageName: "square.and.arrow.up", handler: { [weak self, weak sourceView] (_) in guard let self = self else { return } self.navigationDelegate?.showMoreOptions(forAccount: accountID, sourceView: sourceView) }) @@ -89,7 +89,7 @@ extension MenuPreviewProvider { let shareSection = [ openInSafariAction(url: account.url), - createAction(identifier: "share", title: "Share...", systemImageName: "square.and.arrow.up", handler: { [weak self, weak sourceView] (_) in + createAction(identifier: "share", title: "Share", systemImageName: "square.and.arrow.up", handler: { [weak self, weak sourceView] (_) in guard let self = self else { return } self.navigationDelegate?.showMoreOptions(forAccount: accountID, sourceView: sourceView) }) @@ -104,7 +104,7 @@ extension MenuPreviewProvider { func actionsForURL(_ url: URL, sourceView: UIView?) -> [UIAction] { return [ openInSafariAction(url: url), - createAction(identifier: "share", title: "Share...", systemImageName: "square.and.arrow.up", handler: { [weak self, weak sourceView] (_) in + createAction(identifier: "share", title: "Share", systemImageName: "square.and.arrow.up", handler: { [weak self, weak sourceView] (_) in guard let self = self else { return } self.navigationDelegate?.showMoreOptions(forURL: url, sourceView: sourceView) }) @@ -139,7 +139,7 @@ extension MenuPreviewProvider { guard mastodonController.loggedIn else { return [ openInSafariAction(url: status.url!), - createAction(identifier: "share", title: "Share...", systemImageName: "square.and.arrow.up", handler: { [weak self, weak sourceView] (_) in + createAction(identifier: "share", title: "Share", systemImageName: "square.and.arrow.up", handler: { [weak self, weak sourceView] (_) in guard let self = self else { return } self.navigationDelegate?.showMoreOptions(forStatus: status.id, sourceView: sourceView) }) @@ -204,7 +204,7 @@ extension MenuPreviewProvider { var shareSection = [ openInSafariAction(url: status.url!), - createAction(identifier: "share", title: "Share...", systemImageName: "square.and.arrow.up", handler: { [weak self, weak sourceView] (_) in + createAction(identifier: "share", title: "Share", systemImageName: "square.and.arrow.up", handler: { [weak self, weak sourceView] (_) in guard let self = self else { return } self.navigationDelegate?.showMoreOptions(forStatus: status.id, sourceView: sourceView) }),