pull/94/head
kunfei 5 years ago
parent 37a560eb39
commit b887326d01
  1. 4
      app/src/main/java/io/legado/app/ui/main/my/MyFragment.kt
  2. 2
      app/src/main/res/values/strings.xml

@ -208,10 +208,10 @@ class MyFragment : BaseFragment(R.layout.fragment_my_config) {
PreferKey.webService -> {
if (requireContext().getPrefBoolean("webService")) {
WebService.start(requireContext())
toast("正在启动服务\n具体信息查看通知栏")
toast(R.string.service_start)
}else{
WebService.stop(requireContext())
toast("服务已停止")
toast(R.string.service_stop)
}
}
PreferKey.downloadPath -> BookHelp.upDownloadPath()

@ -595,5 +595,7 @@
<string name="tone_colour">在线朗读音色</string>
<string name="select_count">(%d/%d)</string>
<string name="show_rss">显示订阅</string>
<string name="service_stop">服务已停止</string>
<string name="service_start">正在启动服务\n具体信息查看通知栏</string>
</resources>

Loading…
Cancel
Save