We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 320e42f commit f80fe81Copy full SHA for f80fe81
aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecDynamicImageSpan.kt
@@ -1,6 +1,5 @@
1
package org.wordpress.aztec.spans
2
3
-import android.content.Context
4
import android.graphics.Canvas
5
import android.graphics.Paint
6
import android.graphics.Rect
@@ -9,7 +8,7 @@ import android.text.style.DynamicDrawableSpan
9
8
import org.wordpress.aztec.AztecText
10
import java.lang.ref.WeakReference
11
12
-abstract class AztecDynamicImageSpan(val context: Context, protected var imageDrawable: Drawable?) : DynamicDrawableSpan() {
+abstract class AztecDynamicImageSpan(protected var imageDrawable: Drawable?) : DynamicDrawableSpan() {
13
var textView: WeakReference<AztecText>? = null
14
var aspectRatio: Double = 1.0
15
0 commit comments