增加模块自动检查更新功能

This commit is contained in:
2022-03-20 14:06:11 +08:00
parent 73be5df304
commit af927d3f19

View File

@@ -96,7 +96,7 @@ object GithubReleaseTool {
override fun onFailure(call: Call, e: IOException) {
(context as? Activity?)?.runOnUiThread {
context.showDialog {
title = "网络连接失败"
title = "网络不可用"
msg = "模块的联网权限可能已被禁用,请开启联网权限以定期检查更新。"
confirmButton(text = "去开启") { context.openSelfSetting() }
cancelButton()