Skip to content

Commit

Permalink
Only pass Spannable interface instead of editable SpannableStringBuilder
Browse files Browse the repository at this point in the history
Reviewed By: rooju

Differential Revision: D52264496

fbshipit-source-id: ffdfa7c66997998c808abd06d963337b80004710
  • Loading branch information
AlexBalo authored and facebook-github-bot committed Jan 10, 2024
1 parent 80f1244 commit cebc729
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ package com.facebook.fresco.vito.textspan

import android.content.res.Resources
import android.graphics.drawable.Drawable
import android.text.Spannable
import android.text.SpannableStringBuilder
import android.text.Spanned
import android.view.View
Expand Down Expand Up @@ -83,7 +84,7 @@ object VitoSpanLoader {

@JvmStatic
fun setImageSpanOnBuilder(
sb: SpannableStringBuilder,
sb: Spannable,
imageSpan: VitoSpan,
startIndex: Int,
endIndex: Int,
Expand Down

0 comments on commit cebc729

Please sign in to comment.