From b887326d01ba69c06ada7a8e4423532f64b3bc51 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 8 Feb 2020 10:52:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/ui/main/my/MyFragment.kt | 4 ++-- app/src/main/res/values/strings.xml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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具体信息查看通知栏