diff --git a/app/src/main/java/io/legado/app/ui/main/my/MyFragment.kt b/app/src/main/java/io/legado/app/ui/main/my/MyFragment.kt index 035ca4d26..09969afda 100644 --- a/app/src/main/java/io/legado/app/ui/main/my/MyFragment.kt +++ b/app/src/main/java/io/legado/app/ui/main/my/MyFragment.kt @@ -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() diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d2c337e8c..246eda3a1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -595,5 +595,7 @@ 在线朗读音色 (%d/%d) 显示订阅 + 服务已停止 + 正在启动服务\n具体信息查看通知栏