Skip to content
Snippets Groups Projects
Commit bb9a0538 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixes an issue with rendering hex colors

parent e59075e7
No related branches found
No related tags found
Loading
......@@ -344,7 +344,7 @@ class IrcFormatDeserializer(private val context: Context) {
override fun applyTo(editable: SpannableStringBuilder, from: Int, to: Int) {
editable.setSpan(
IrcHexColorSpan(color), from, to,
IrcHexColorSpan(color or 0xFFFFFF.inv()), from, to,
Spanned.SPAN_INCLUSIVE_EXCLUSIVE
)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment