Skip to content

Commit e254568

Browse files
committed
Update LineBackgroundSpan's functions
Some LineBackgroundSpan functions have changed after API 28.
1 parent 4127a13 commit e254568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecPreformatSpan.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ open class AztecPreformatSpan(
125125
}
126126

127127
override fun drawBackground(canvas: Canvas, paint: Paint, left: Int, right: Int, top: Int, baseline: Int,
128-
bottom: Int, text: CharSequence?, start: Int, end: Int, lnum: Int) {
128+
bottom: Int, text: CharSequence, start: Int, end: Int, lnum: Int) {
129129
val spanned = text as Spanned
130130
val spanStart = spanned.getSpanStart(this)
131131
val spanEnd = spanned.getSpanEnd(this)

0 commit comments

Comments
 (0)