fix: some color logging

This commit is contained in:
rebelonion 2024-03-16 23:22:37 -05:00
parent 9a3f9c6de2
commit fd39c4f391
3 changed files with 6 additions and 1 deletions

View file

@ -30,6 +30,7 @@ import ani.dantotsu.media.user.ListActivity
import ani.dantotsu.setSlideIn
import ani.dantotsu.setSlideUp
import ani.dantotsu.util.AniMarkdown.Companion.getFullAniHTML
import ani.dantotsu.util.Logger
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
@ -74,6 +75,7 @@ class ProfileFragment : Fragment() {
binding.profileUserBio.settings.loadWithOverviewMode = true
binding.profileUserBio.settings.useWideViewPort = true
binding.profileUserBio.setInitialScale(1)
Logger.log("Text color: ${textColorTypedValue.data} Background color: ${backGroundColorTypedValue.data}")
val styledHtml = getFullAniHTML(
user.about ?: "",
backGroundColorTypedValue.data,