From ca03cf3b087876ec291408608d20b0a029317b1e Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 10 May 2023 11:55:23 -0400 Subject: [PATCH] Shorten hashtag action titles --- Tusker/Screens/Utilities/Previewing.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tusker/Screens/Utilities/Previewing.swift b/Tusker/Screens/Utilities/Previewing.swift index ae9d9fa3..f50f1568 100644 --- a/Tusker/Screens/Utilities/Previewing.swift +++ b/Tusker/Screens/Utilities/Previewing.swift @@ -133,7 +133,7 @@ extension MenuActionProvider { let name = hashtag.name.lowercased() let context = mastodonController.persistentContainer.viewContext let existing = try? context.fetch(SavedHashtag.fetchRequest(name: name, account: mastodonController.accountInfo!)).first - let saveSubtitle = "Saved hashtags appear in the Explore section of Tusker" + let saveSubtitle = "Shown in the Explore section of Tusker" let saveImage = UIImage(systemName: existing != nil ? "minus" : "plus") actionsSection = [ UIAction(title: existing != nil ? "Unsave Hashtag" : "Save Hashtag", subtitle: saveSubtitle, image: saveImage, handler: { (_) in @@ -147,7 +147,7 @@ extension MenuActionProvider { ] if mastodonController.instanceFeatures.canFollowHashtags { let existing = mastodonController.followedHashtags.first(where: { $0.name.lowercased() == name }) - let subtitle = "Posts tagged with followed hashtags appear in your Home timeline" + let subtitle = "Posts appear in your Home timeline" let image = UIImage(systemName: existing != nil ? "person.badge.minus" : "person.badge.plus") actionsSection.append(UIAction(title: existing != nil ? "Unfollow" : "Follow", subtitle: subtitle, image: image) { [unowned self] _ in Task {