From c02a1bbf7457ebbcbdfa154ea94471de0b33bc55 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 9 Jun 2021 17:10:13 -0400 Subject: [PATCH] Make Pin status action title clearer --- Tusker/Screens/Utilities/Previewing.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tusker/Screens/Utilities/Previewing.swift b/Tusker/Screens/Utilities/Previewing.swift index 00cef406..cd4f6fdd 100644 --- a/Tusker/Screens/Utilities/Previewing.swift +++ b/Tusker/Screens/Utilities/Previewing.swift @@ -176,7 +176,7 @@ extension MenuPreviewProvider { if mastodonController.account != nil && mastodonController.account.id == status.account.id { let pinned = status.pinned ?? false - actionsSection.append(createAction(identifier: "pin", title: pinned ? "Unpin" : "Pin", systemImageName: pinned ? "pin.slash" : "pin", handler: { [weak self] (_) in + actionsSection.append(createAction(identifier: "pin", title: pinned ? "Unpin from Profile" : "Pin to Profile", systemImageName: pinned ? "pin.slash" : "pin", handler: { [weak self] (_) in guard let self = self else { return } let request = (pinned ? Status.unpin : Status.pin)(status.id) self.mastodonController?.run(request, completion: { [weak self] (response) in