mirror of
https://github.com/nextcloud/talk-android
synced 2025-08-11 22:15:10 +01: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 {
|
fun themeMarkdown(context: Context, message: String, incoming: Boolean): Spanned {
|
||||||
return withScheme(context) { scheme ->
|
return withScheme(context) { scheme ->
|
||||||
return@withScheme if (incoming) {
|
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 {
|
} else {
|
||||||
MessageUtils(context).getRenderedMarkdownText(context, message, scheme.onSurfaceVariant)
|
MessageUtils(context).getRenderedMarkdownText(context, message, scheme.onSurfaceVariant)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user