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 { private extension String {
static let urlCharacterCount = 23 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) stackView.addArrangedSubview(charactersLabel)
charactersLabel.font = .preferredFont(forTextStyle: .callout) charactersLabel.font = .preferredFont(forTextStyle: .callout)
stackView.addArrangedSubview(addButton) stackView.addArrangedSubview(addButton)
addButton.setImage( addButton.setImage(
UIImage( UIImage(