1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-10 01:51:05 +09:00
This commit is contained in:
Konstantin Ivanov 2020-09-08 16:41:11 +03:00 committed by GitHub
parent 207013077b
commit 6ffa0a9e15
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,11 @@ class HighlightBlockActionToolbar : BlockActionToolbar() {
view.findViewById<TextView>(R.id.highlightContent).apply {
movementMethod = ScrollingMovementMethod()
text = block.text
processTextColor(
textView = this,
colorImage = colorView,
color = block.color
)
}
processBackgroundColor(
root = view.findViewById(R.id.root),