mirror of
https://github.com/tateisu/SubwayTooter
synced 2024-12-23 23:54:51 +01:00
fixup
This commit is contained in:
parent
e84bd91f20
commit
b005777a05
@ -1,5 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Kotlin2JsCompilerArguments">
|
||||
<option name="sourceMapEmbedSources" />
|
||||
<option name="sourceMapPrefix" />
|
||||
</component>
|
||||
<component name="KotlinCommonCompilerArguments">
|
||||
<option name="coroutinesState" value="enable" />
|
||||
</component>
|
||||
|
@ -113,10 +113,11 @@ object EmojiDecoder {
|
||||
)
|
||||
}
|
||||
|
||||
internal fun addImageSpan(text : String?, @DrawableRes res_id : Int) {
|
||||
internal fun addImageSpan(text : String, @DrawableRes res_id : Int) {
|
||||
val context = options.context
|
||||
if(context == null) {
|
||||
addUnicodeString("(missing context)")
|
||||
openNormalText()
|
||||
sb.append(text)
|
||||
} else {
|
||||
closeNormalText()
|
||||
val start = sb.length
|
||||
|
Loading…
Reference in New Issue
Block a user