diff --git a/ViewModels/Sources/ViewModels/CompositionViewModel.swift b/ViewModels/Sources/ViewModels/CompositionViewModel.swift index 66115f8..02c22b9 100644 --- a/ViewModels/Sources/ViewModels/CompositionViewModel.swift +++ b/ViewModels/Sources/ViewModels/CompositionViewModel.swift @@ -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 + } } diff --git a/Views/CompositionInputAccessoryView.swift b/Views/CompositionInputAccessoryView.swift index f39b21e..3dba81a 100644 --- a/Views/CompositionInputAccessoryView.swift +++ b/Views/CompositionInputAccessoryView.swift @@ -114,7 +114,6 @@ private extension CompositionInputAccessoryView { stackView.addArrangedSubview(charactersLabel) charactersLabel.font = .preferredFont(forTextStyle: .callout) - stackView.addArrangedSubview(addButton) addButton.setImage( UIImage(