Skip to content

Commit

Permalink
cleanup whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
cbess committed Mar 26, 2022
1 parent 4561534 commit ed55d4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Aztec/Classes/TextKit/TextView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ open class TextView: UITextView {
}

// MARK: - General Indentation

/// Increases the indentation of the selected range
open func increaseIndent() {
let lists = TextListFormatter.lists(in: typingAttributes)
Expand All @@ -582,14 +582,14 @@ open class TextView: UITextView {
open func decreaseIndent() {
let lists = TextListFormatter.lists(in: typingAttributes)
let quotes = BlockquoteFormatter.blockquotes(in: typingAttributes)

if let list = lists.last {
indent(list: list, increase: false)
} else if let quote = quotes.last {
indent(blockquote: quote, increase: false)
}
}

// MARK: - Text List indent methods

private func indent(list: TextList, increase: Bool = true) {
Expand Down

0 comments on commit ed55d4a

Please sign in to comment.