mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 22:29:09 +00:00
reformat code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
1b10c08d7e
commit
9a1d501952
@ -363,7 +363,11 @@ 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, context.getColor(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