1
0
mirror of https://github.com/metabolist/metatext synced 2025-01-06 23:23:07 +01:00
This commit is contained in:
Justin Mazzocchi 2021-01-03 17:52:37 -08:00
parent 9b0f7e67be
commit 9cfb1b3ef9
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C
2 changed files with 3 additions and 2 deletions

View File

@ -108,5 +108,7 @@ private extension CompositionViewModel {
private extension String {
static let urlCharacterCount = 23
var countShorteningIfURL: Int { starts(with: "http://") || starts(with: "https://") ? Self.urlCharacterCount : count }
var countShorteningIfURL: Int {
starts(with: "http://") || starts(with: "https://") ? Self.urlCharacterCount : count
}
}

View File

@ -114,7 +114,6 @@ private extension CompositionInputAccessoryView {
stackView.addArrangedSubview(charactersLabel)
charactersLabel.font = .preferredFont(forTextStyle: .callout)
stackView.addArrangedSubview(addButton)
addButton.setImage(
UIImage(