Skip to content

Commit e3c5730

Browse files
committed
Fixed typo.
1 parent 1950e92 commit e3c5730

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ class AztecText : EditText, TextWatcher, UnknownHtmlSpan.OnUnknownHtmlClickListe
246246
ParagraphCollapseAdjuster.install(this)
247247
ParagraphCollapseRemover.install(this)
248248

249-
EndOfParagraphMarkerAdded.install(this, verticalParagraphMargin)
249+
EndOfParagraphMarkerAdder.install(this, verticalParagraphMargin)
250250

251251
InlineTextWatcher.install(inlineFormatter, this)
252252

aztec/src/main/kotlin/org/wordpress/aztec/watchers/EndOfParagraphMarkerAdded.kt renamed to aztec/src/main/kotlin/org/wordpress/aztec/watchers/EndOfParagraphMarkerAdder.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import org.wordpress.aztec.spans.EndOfParagraphMarker
1010
import java.lang.ref.WeakReference
1111

1212

13-
class EndOfParagraphMarkerAdded(aztecText: AztecText, val verticalParagraphMargin: Int) : TextWatcher {
13+
class EndOfParagraphMarkerAdder(aztecText: AztecText, val verticalParagraphMargin: Int) : TextWatcher {
1414

1515
private val aztecTextRef: WeakReference<AztecText?> = WeakReference(aztecText)
1616
private var textChangedEventDetails = TextChangedEvent("", 0, 0, 0)
@@ -56,7 +56,7 @@ class EndOfParagraphMarkerAdded(aztecText: AztecText, val verticalParagraphMargi
5656

5757
companion object {
5858
fun install(editText: AztecText, verticalParagraphMargin: Int) {
59-
editText.addTextChangedListener(EndOfParagraphMarkerAdded(editText, verticalParagraphMargin))
59+
editText.addTextChangedListener(EndOfParagraphMarkerAdder(editText, verticalParagraphMargin))
6060
}
6161

6262
}

0 commit comments

Comments
 (0)