Skip to content

Commit

Permalink
Fix bug when manually formatting strings in fragments
Browse files Browse the repository at this point in the history
  • Loading branch information
grivos committed Aug 23, 2019
1 parent f707e9f commit aa0a46f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ fun Context.addSpansFromAnnotations(@StringRes id: Int, vararg formatArgs: Any):
}

fun Fragment.addSpansFromAnnotations(@StringRes id: Int, vararg formatArgs: Any): CharSequence? =
context?.addSpansFromAnnotations(id, formatArgs)
context?.addSpansFromAnnotations(id, *formatArgs)

0 comments on commit aa0a46f

Please sign in to comment.