Skip to content

Commit 8bd5798

Browse files
author
Gerardo
committed
Fix lint issues
1 parent bf7d6e2 commit 8bd5798

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/watchers/EndOfBufferMarkerAdder.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ class EndOfBufferMarkerAdder(text: Editable) : TextWatcher {
4444

4545
if (text.isEmpty()) {
4646
if (text.getSpans(0, 0, IAztecBlockSpan::class.java).isNotEmpty()) {
47-
// need to add a end-of-text marker so a block element can render in the empty text.
48-
if (!deletedText) {
49-
text.append(Constants.END_OF_BUFFER_MARKER)
50-
}
47+
// need to add a end-of-text marker so a block element can render in the empty text.
48+
if (!deletedText) {
49+
text.append(Constants.END_OF_BUFFER_MARKER)
50+
}
5151
}
5252
return text
5353
} else if (text.length == 1 && text[0] == Constants.END_OF_BUFFER_MARKER && deletedText) {

0 commit comments

Comments
 (0)