mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
Feat | Dark mode (#2018)
This commit is contained in:
parent
0004e4c546
commit
7748d2926f
334 changed files with 1346 additions and 960 deletions
|
@ -39,7 +39,7 @@ class RoundedBgTextView : AppCompatTextView {
|
|||
// need to draw bg first so that text can be on top during super.onDraw()
|
||||
if (text is Spanned && layout != null) {
|
||||
canvas.withTranslation(totalPaddingLeft.toFloat(), totalPaddingTop.toFloat()) {
|
||||
highlightDrawer.draw(canvas, text as Spanned, layout)
|
||||
highlightDrawer.draw(canvas, text as Spanned, layout, context.resources)
|
||||
}
|
||||
}
|
||||
super.onDraw(canvas)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue