mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-15 02:38:59 +03:00
Do not offset text with inline code snippets
Change-Id: Id1573c55f4e719e4659aacd76a4416a38db5d9eb
This commit is contained in:
parent
9d64a14ff7
commit
22d034566b
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class HtmlCodeSpan(private val theme: MarkwonTheme, var isBlock: Boolean) : Metr
|
|||
}
|
||||
|
||||
override fun getLeadingMargin(first: Boolean): Int {
|
||||
return theme.codeBlockMargin
|
||||
return if (isBlock) theme.codeBlockMargin else 0
|
||||
}
|
||||
|
||||
override fun drawLeadingMargin(
|
||||
|
|
Loading…
Add table
Reference in a new issue