Skip to content

Commit f80fe81

Browse files
committed
Remove context from AztecDynamicImageSpan
1 parent 320e42f commit f80fe81

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package org.wordpress.aztec.spans
22

3-
import android.content.Context
43
import android.graphics.Canvas
54
import android.graphics.Paint
65
import android.graphics.Rect
@@ -9,7 +8,7 @@ import android.text.style.DynamicDrawableSpan
98
import org.wordpress.aztec.AztecText
109
import java.lang.ref.WeakReference
1110

12-
abstract class AztecDynamicImageSpan(val context: Context, protected var imageDrawable: Drawable?) : DynamicDrawableSpan() {
11+
abstract class AztecDynamicImageSpan(protected var imageDrawable: Drawable?) : DynamicDrawableSpan() {
1312
var textView: WeakReference<AztecText>? = null
1413
var aspectRatio: Double = 1.0
1514

0 commit comments

Comments
 (0)