From 469370d8609954607363de685a35a344976a828a Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 30 Jul 2019 20:52:10 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt b/app/src/main/java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt index a5543ff39..4b42e5d91 100644 --- a/app/src/main/java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt +++ b/app/src/main/java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt @@ -20,6 +20,7 @@ import kotlinx.android.synthetic.main.activity_source_debug.* import kotlinx.android.synthetic.main.view_title_bar.* import kotlinx.coroutines.Dispatchers.IO import kotlinx.coroutines.launch +import org.jetbrains.anko.toast class SourceDebugActivity : BaseActivity(), SourceDebug.Callback { @@ -85,7 +86,7 @@ class SourceDebugActivity : BaseActivity(), SourceDebug.Callba SourceDebug(WebBook(it), this) .searchDebug(key) } - } + } ?: toast("未获取到书源") } override fun printLog(state: Int, msg: String) {