新增GitHub Issues入口

This commit is contained in:
LittleTurtle2333
2022-02-16 15:55:17 +08:00
parent 1e7aeef8f3
commit 6632b4aa75
2 changed files with 12 additions and 1 deletions

View File

@@ -77,7 +77,16 @@ class SettingsActivity : AppCompatActivity() {
Toast.makeText(activity, "访问失败", Toast.LENGTH_SHORT).show() Toast.makeText(activity, "访问失败", Toast.LENGTH_SHORT).show()
} }
} }
"issues" -> {
try {
val uri =
Uri.parse("https://github.com/LittleTurtle2333/Simplicity_Tools_Xposed/issues")
val intent = Intent(Intent.ACTION_VIEW, uri)
startActivity(intent)
} catch (e: Exception) {
Toast.makeText(activity, "访问失败", Toast.LENGTH_SHORT).show()
}
}
"dev_coolapk" -> { "dev_coolapk" -> {
try { try {
startActivity( startActivity(

View File

@@ -36,6 +36,8 @@
<string name="dev_coolapk_name">\@乌堆小透明</string> <string name="dev_coolapk_name">\@乌堆小透明</string>
<string name="opensource">开源仓库</string> <string name="opensource">开源仓库</string>
<string name="github_url">点击查看开源仓库(GitHub)</string> <string name="github_url">点击查看开源仓库(GitHub)</string>
<string name="issues">反馈/提议</string>
<string name="issues_url">点击查看GitHub Issues</string>
<string name="xposeddescription">基于 MIUI13(Android 12) 适配的自定义工具</string> <string name="xposeddescription">基于 MIUI13(Android 12) 适配的自定义工具</string>
</resources> </resources>