From ec66dcbde446d6fa3e3d3a644dd7dbec3f5537f8 Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 2 Oct 2019 10:20:33 +0800 Subject: [PATCH] up --- .../app/ui/rss/source/edit/RssSourceEditViewModel.kt | 2 ++ app/src/main/res/values/strings.xml | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/rss/source/edit/RssSourceEditViewModel.kt b/app/src/main/java/io/legado/app/ui/rss/source/edit/RssSourceEditViewModel.kt index b4c0133a8..0f002d627 100644 --- a/app/src/main/java/io/legado/app/ui/rss/source/edit/RssSourceEditViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/rss/source/edit/RssSourceEditViewModel.kt @@ -27,6 +27,8 @@ class RssSourceEditViewModel(application: Application) : BaseViewModel(applicati App.db.rssSourceDao().insert(rssSource) }.onSuccess { success() + }.onError { + toast(it.localizedMessage) } } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 990597367..a0bb5a060 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -150,9 +150,9 @@ 新建订阅源 添加书籍 扫描 - 拷贝书源 - 粘贴书源 - 书源规则说明 + 拷贝源 + 粘贴源 + 源规则说明 检查更新 扫描二维码 扫描本地图片 @@ -406,7 +406,7 @@ header - 调试书源 + 调试源 二维码导入 扫描二维码 选中时点击可弹出菜单