Fix for 'space added before first line of self-reply' (#546)

This commit is contained in:
Paul 2023-01-31 05:57:57 +00:00 committed by GitHub
parent fee9cd3daa
commit 1c61d3908f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -200,7 +200,9 @@ public class StatusEditorViewModel: ObservableObject {
}
mentionString += "@\(mention.acct)"
}
mentionString += " "
if !mentionString.isEmpty {
mentionString += " "
}
replyToStatus = status
visibility = status.visibility
statusText = .init(string: mentionString)