Skip to content

Commit

Permalink
feat: add faq redirect url
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Nov 6, 2024
1 parent ed63826 commit cc9670f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/kotlin/li/songe/gkd/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ private fun ShizukuErrorDialog(stateFlow: MutableStateFlow<Boolean>) {
} else {
TextButton(onClick = {
stateFlow.value = false
app.openUri("https://shizuku.rikka.app/")
app.openUri("https://gkd.li?r=4")
}) {
Text(text = "去下载")
}
Expand Down
10 changes: 10 additions & 0 deletions app/src/main/kotlin/li/songe/gkd/ui/AuthA11yPage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit cc9670f

Please sign in to comment.