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) } }