diff --git a/Localizations/Localizable.strings b/Localizations/Localizable.strings index 8d8827e..2b89104 100644 --- a/Localizations/Localizable.strings +++ b/Localizations/Localizable.strings @@ -48,7 +48,6 @@ "account.unavailable" = "Profile unavailable"; "account.unblock" = "Unblock"; "account.unblock.confirm-%@" = "Unblock %@?"; -"account.unfollow" = "Unfollow"; "account.unfollow.confirm-%@" = "Unfollow %@?"; "account.unmute" = "Unmute"; "account.unmute.confirm-%@" = "Unmute %@?"; diff --git a/Views/UIKit/AccountHeaderView.swift b/Views/UIKit/AccountHeaderView.swift index 8c13ff4..ee47437 100644 --- a/Views/UIKit/AccountHeaderView.swift +++ b/Views/UIKit/AccountHeaderView.swift @@ -67,7 +67,7 @@ final class AccountHeaderView: UIView { unfollowButton.isHidden = !(relationship.following || relationship.requested) unfollowButton.setTitle( NSLocalizedString( - relationship.requested ? "account.request.cancel" : "account.unfollow", + relationship.requested ? "account.request.cancel" : "account.following", comment: ""), for: .normal) @@ -321,7 +321,7 @@ private extension AccountHeaderView { systemName: "checkmark", withConfiguration: UIImage.SymbolConfiguration(scale: .small)), for: .normal) - unfollowButton.setTitle(NSLocalizedString("account.unfollow", comment: ""), for: .normal) + unfollowButton.setTitle(NSLocalizedString("account.following", comment: ""), for: .normal) unfollowButton.isHidden = true unfollowButton.addAction( UIAction { [weak self] _ in self?.viewModel.accountViewModel?.confirmUnfollow() },