Skip to content

Commit 66638c8

Browse files
committed
Fix formatting
1 parent 991f7bf commit 66638c8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/formatting/LineBlockFormatter.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ class LineBlockFormatter(editor: AztecText) : AztecFormatter(editor) {
120120
span.textView = editor
121121

122122
val spanBeforeMedia = editableText.getSpans(selectionStart, selectionEnd, AztecBlockSpan::class.java)
123-
.firstOrNull {
124-
selectionStart == editableText.getSpanEnd(it)
125-
}
123+
.firstOrNull {
124+
selectionStart == editableText.getSpanEnd(it)
125+
}
126126

127127
val spanAfterMedia = editableText.getSpans(selectionStart, selectionEnd, AztecBlockSpan::class.java)
128-
.firstOrNull {
129-
selectionStart == editableText.getSpanStart(it)
130-
}
128+
.firstOrNull {
129+
selectionStart == editableText.getSpanStart(it)
130+
}
131131

132132
val mediaStartIndex = selectionStart
133133
val mediaEndIndex = selectionStart + 1

0 commit comments

Comments
 (0)