Merge pull request #629 from mastodon/status_notifcation_empty_string

fix: Status notification shows "mentioned you" text
This commit is contained in:
Marcus Kida 2022-11-18 11:07:12 +01:00 committed by GitHub
commit 02fbb5bdb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,8 @@ extension String {
mutating func capitalizeFirstLetter() {
self = self.capitalizingFirstLetter()
}
static let empty = ""
}
extension String {

View File

@ -154,7 +154,7 @@ extension NotificationView {
)
case .status:
self.viewModel.notificationIndicatorText = createMetaContent(
text: L10n.Scene.Notification.NotificationDescription.mentionedYou,
text: .empty,
emojis: emojis.asDictionary
)
case ._other: