manager: fix dialog text color

This commit is contained in:
tiann
2022-12-10 22:55:09 +08:00
parent 57b1eb44f8
commit e77ac86e95

View File

@@ -1,6 +1,7 @@
package me.weishu.kernelsu
import androidx.compose.foundation.gestures.detectTapGestures
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.mutableStateOf
@@ -27,7 +28,7 @@ fun LinkifyText(text: String, modifier: Modifier = Modifier) {
linksList.forEach {
addStyle(
style = SpanStyle(
color = Color.Companion.Blue,
color = MaterialTheme.colorScheme.primary,
textDecoration = TextDecoration.Underline
),
start = it.start,