mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
fix markdown checked item theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
dea6645002
commit
1b10c08d7e
@ -363,7 +363,7 @@ class TalkSpecificViewThemeUtils @Inject constructor(
|
||||
fun themeMarkdown(context: Context, message: String, incoming: Boolean): Spanned {
|
||||
return withScheme(context) { scheme ->
|
||||
return@withScheme if (incoming) {
|
||||
MessageUtils(context).getRenderedMarkdownText(context, message, R.color.nc_incoming_text_default)
|
||||
MessageUtils(context).getRenderedMarkdownText(context, message, context.getColor(R.color.nc_incoming_text_default))
|
||||
} else {
|
||||
MessageUtils(context).getRenderedMarkdownText(context, message, scheme.onSurfaceVariant)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user