From 3640b3a4b209549d4c4f0b5165cbb80ca1064593 Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 14 Nov 2019 11:25:14 +0800 Subject: [PATCH] up --- .../legado/app/ui/book/source/manage/BookSourceViewModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceViewModel.kt b/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceViewModel.kt index 34b757b81..2fd90a887 100644 --- a/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceViewModel.kt @@ -164,10 +164,10 @@ class BookSourceViewModel(application: Application) : BaseViewModel(application) val count = importSourceUrl(text1) finally("导入${count}条") } else { - toast("格式不对") + finally("格式不对") } }.onError { - toast(it.localizedMessage) + finally(it.localizedMessage) } }