Use ellipsis after share action title
This commit is contained in:
parent
55e0573a5c
commit
9af8c06b1c
|
@ -48,7 +48,7 @@ extension MenuActionProvider {
|
||||||
|
|
||||||
var shareSection = [
|
var shareSection = [
|
||||||
openInSafariAction(url: account.url),
|
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 }
|
guard let self = self else { return }
|
||||||
self.navigationDelegate?.showMoreOptions(forAccount: accountID, source: source)
|
self.navigationDelegate?.showMoreOptions(forAccount: accountID, source: source)
|
||||||
})
|
})
|
||||||
|
@ -121,7 +121,7 @@ extension MenuActionProvider {
|
||||||
func actionsForURL(_ url: URL, source: PopoverSource) -> [UIAction] {
|
func actionsForURL(_ url: URL, source: PopoverSource) -> [UIAction] {
|
||||||
return [
|
return [
|
||||||
openInSafariAction(url: url),
|
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 }
|
guard let self = self else { return }
|
||||||
self.navigationDelegate?.showMoreOptions(forURL: url, source: source)
|
self.navigationDelegate?.showMoreOptions(forURL: url, source: source)
|
||||||
})
|
})
|
||||||
|
@ -182,7 +182,7 @@ extension MenuActionProvider {
|
||||||
if let url = status.url {
|
if let url = status.url {
|
||||||
return [
|
return [
|
||||||
openInSafariAction(url: url),
|
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 }
|
guard let self = self else { return }
|
||||||
self.navigationDelegate?.showMoreOptions(forStatus: status.id, source: source)
|
self.navigationDelegate?.showMoreOptions(forStatus: status.id, source: source)
|
||||||
}),
|
}),
|
||||||
|
@ -366,7 +366,7 @@ extension MenuActionProvider {
|
||||||
} else {
|
} else {
|
||||||
Logging.general.fault("Status missing URL: id=\(status.id, privacy: .public), reblog=\((status.reblog?.id).debugDescription, privacy: .public)")
|
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 }
|
guard let self = self else { return }
|
||||||
self.navigationDelegate?.showMoreOptions(forStatus: status.id, source: source)
|
self.navigationDelegate?.showMoreOptions(forStatus: status.id, source: source)
|
||||||
}))
|
}))
|
||||||
|
@ -394,7 +394,7 @@ extension MenuActionProvider {
|
||||||
}
|
}
|
||||||
return [
|
return [
|
||||||
openInSafariAction(url: url),
|
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 }
|
guard let self else { return }
|
||||||
self.navigationDelegate?.showMoreOptions(forURL: url, source: source)
|
self.navigationDelegate?.showMoreOptions(forURL: url, source: source)
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue