pull/52/head
Celeter 5 years ago
parent 34df3e3af9
commit de85b382b8
  1. 2
      app/src/main/java/io/legado/app/ui/config/WebDavConfigFragment.kt

@ -108,7 +108,7 @@ class WebDavConfigFragment : PreferenceFragmentCompat(), Preference.OnPreference
startImport() startImport()
} else { //没有安装外部来源应用的权限 } else { //没有安装外部来源应用的权限
alert(title = "开启权限提示") { alert(title = "开启权限提示") {
message = "需要打开「安装外部来源应用」权限才能导入旧版数据,请去设置中开启" message = "需要打开「安装外部来源应用」权限才能导入旧版数据,请去设置中开启"
yesButton { yesButton {
val intent = Intent(Settings.ACTION_MANAGE_UNKNOWN_APP_SOURCES) val intent = Intent(Settings.ACTION_MANAGE_UNKNOWN_APP_SOURCES)
startActivityForResult(intent, 666) startActivityForResult(intent, 666)

Loading…
Cancel
Save