From 376c62e39903ba63749853e5c896d2aa485bfa35 Mon Sep 17 00:00:00 2001 From: Justin Mazzocchi <2831158+jzzocc@users.noreply.github.com> Date: Tue, 16 Feb 2021 19:53:43 -0800 Subject: [PATCH] Line length --- Views/UIKit/CompositionView.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Views/UIKit/CompositionView.swift b/Views/UIKit/CompositionView.swift index 03e3579..bd71646 100644 --- a/Views/UIKit/CompositionView.swift +++ b/Views/UIKit/CompositionView.swift @@ -345,8 +345,10 @@ private extension CompositionView { func spoilerTextAutocompleteSelected(_ autocompleteText: String) { guard let autocompleteQuery = viewModel.contentWarningAutocompleteQuery, - let queryRange = viewModel.contentWarningTextToSelectedRange.range(of: autocompleteQuery, options: .backwards), - let textToSelectedRangeRange = viewModel.contentWarning.range(of: viewModel.contentWarningTextToSelectedRange) + let queryRange = + viewModel.contentWarningTextToSelectedRange.range(of: autocompleteQuery, options: .backwards), + let textToSelectedRangeRange = + viewModel.contentWarning.range(of: viewModel.contentWarningTextToSelectedRange) else { return } let replaced = viewModel.contentWarningTextToSelectedRange.replacingOccurrences(