diff --git a/app/src/main/kotlin/li/songe/gkd/MainActivity.kt b/app/src/main/kotlin/li/songe/gkd/MainActivity.kt index 1cf70dc..6948dab 100644 --- a/app/src/main/kotlin/li/songe/gkd/MainActivity.kt +++ b/app/src/main/kotlin/li/songe/gkd/MainActivity.kt @@ -236,7 +236,7 @@ private fun ShizukuErrorDialog(stateFlow: MutableStateFlow) { } else { TextButton(onClick = { stateFlow.value = false - app.openUri("https://shizuku.rikka.app/") + app.openUri("https://gkd.li?r=4") }) { Text(text = "去下载") } diff --git a/app/src/main/kotlin/li/songe/gkd/ui/AuthA11yPage.kt b/app/src/main/kotlin/li/songe/gkd/ui/AuthA11yPage.kt index c1cac5b..2e5672d 100644 --- a/app/src/main/kotlin/li/songe/gkd/ui/AuthA11yPage.kt +++ b/app/src/main/kotlin/li/songe/gkd/ui/AuthA11yPage.kt @@ -239,6 +239,16 @@ fun AuthA11yPage() { .padding(4.dp) ) } + Spacer(modifier = Modifier.height(8.dp)) + Text( + modifier = Modifier + .clickable { + context.openUri("https://gkd.li/?r=3") + }, + text = "运行后授权失败?", + style = MaterialTheme.typography.bodySmall, + color = MaterialTheme.colorScheme.primary, + ) } }, confirmButton = {