Skip to content

Commit 9deec09

Browse files
committed
Fixed lint issues.
1 parent e19267e commit 9deec09

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/AztecText.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,7 @@ open class AztecText : AppCompatEditText, TextWatcher, UnknownHtmlSpan.OnUnknown
15401540
return cursorPosition
15411541
}
15421542

1543-
open fun fromSpanned(spannedText: Spanned, isInit: Boolean = true){
1543+
open fun fromSpanned(spannedText: Spanned, isInit: Boolean = true) {
15441544
processSpannedContent(spannedText, isInit)
15451545
}
15461546

@@ -1554,7 +1554,7 @@ open class AztecText : AppCompatEditText, TextWatcher, UnknownHtmlSpan.OnUnknown
15541554
processSpannedContent(spanned)
15551555
}
15561556

1557-
private fun processSpannedContent(spannedText: Spanned, isInit: Boolean = true){
1557+
private fun processSpannedContent(spannedText: Spanned, isInit: Boolean = true) {
15581558
val builder = SpannableStringBuilder(spannedText)
15591559

15601560
Format.preProcessSpannedText(builder, isInCalypsoMode)
@@ -1575,7 +1575,8 @@ open class AztecText : AppCompatEditText, TextWatcher, UnknownHtmlSpan.OnUnknown
15751575
setSelection(cursorPosition)
15761576

15771577
if (isInit) {
1578-
initialEditorContentParsedSHA256 = calculateInitialHTMLSHA(toPlainHtml(false), initialEditorContentParsedSHA256)
1578+
initialEditorContentParsedSHA256 =
1579+
calculateInitialHTMLSHA(toPlainHtml(false), initialEditorContentParsedSHA256)
15791580
}
15801581

15811582
loadImages()

0 commit comments

Comments
 (0)