manager: fix dialog text color
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package me.weishu.kernelsu
|
package me.weishu.kernelsu
|
||||||
|
|
||||||
import androidx.compose.foundation.gestures.detectTapGestures
|
import androidx.compose.foundation.gestures.detectTapGestures
|
||||||
|
import androidx.compose.material3.MaterialTheme
|
||||||
import androidx.compose.material3.Text
|
import androidx.compose.material3.Text
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.runtime.mutableStateOf
|
import androidx.compose.runtime.mutableStateOf
|
||||||
@@ -27,7 +28,7 @@ fun LinkifyText(text: String, modifier: Modifier = Modifier) {
|
|||||||
linksList.forEach {
|
linksList.forEach {
|
||||||
addStyle(
|
addStyle(
|
||||||
style = SpanStyle(
|
style = SpanStyle(
|
||||||
color = Color.Companion.Blue,
|
color = MaterialTheme.colorScheme.primary,
|
||||||
textDecoration = TextDecoration.Underline
|
textDecoration = TextDecoration.Underline
|
||||||
),
|
),
|
||||||
start = it.start,
|
start = it.start,
|
||||||
|
|||||||
Reference in New Issue
Block a user