mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-22 05:26:30 +00:00
Cleanup
This commit is contained in:
parent
9b0f7e67be
commit
9cfb1b3ef9
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -114,7 +114,6 @@ private extension CompositionInputAccessoryView {
|
|||
stackView.addArrangedSubview(charactersLabel)
|
||||
charactersLabel.font = .preferredFont(forTextStyle: .callout)
|
||||
|
||||
|
||||
stackView.addArrangedSubview(addButton)
|
||||
addButton.setImage(
|
||||
UIImage(
|
||||
|
|
Loading…
Reference in a new issue