Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerardo committed May 24, 2024
1 parent bf7d6e2 commit 8bd5798
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ class EndOfBufferMarkerAdder(text: Editable) : TextWatcher {

if (text.isEmpty()) {
if (text.getSpans(0, 0, IAztecBlockSpan::class.java).isNotEmpty()) {
// need to add a end-of-text marker so a block element can render in the empty text.
if (!deletedText) {
text.append(Constants.END_OF_BUFFER_MARKER)
}
// need to add a end-of-text marker so a block element can render in the empty text.
if (!deletedText) {
text.append(Constants.END_OF_BUFFER_MARKER)
}
}
return text
} else if (text.length == 1 && text[0] == Constants.END_OF_BUFFER_MARKER && deletedText) {
Expand Down

0 comments on commit 8bd5798

Please sign in to comment.