Line length
This commit is contained in:
parent
9131945664
commit
376c62e399
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue