mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-28 02:51:02 +00:00
Change "Unfollow" to "Following"
This commit is contained in:
parent
2508c0a15e
commit
b235344268
2 changed files with 2 additions and 3 deletions
|
@ -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 %@?";
|
||||
|
|
|
@ -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() },
|
||||
|
|
Loading…
Reference in a new issue