From c5dbbf7c9517ad8849b214c1a2282f5b95f21390 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 30 Jul 2019 21:17:36 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/sourcedebug/SourceDebugActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 4b42e5d91..be5966534 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 @@ -73,7 +73,7 @@ class SourceDebugActivity : BaseActivity(), SourceDebug.Callba adapter.notifyDataSetChanged() bookSource?.let { SourceDebug.debugSource = it.bookSourceUrl - rotate_loading.visibility = View.VISIBLE + rotate_loading.show() if (key.isAbsUrl()) { val book = Book() book.origin = it.bookSourceUrl @@ -95,7 +95,7 @@ class SourceDebugActivity : BaseActivity(), SourceDebug.Callba adapter.logList.add(msg) adapter.notifyItemChanged(adapter.logList.size - 1) if (state == -1 || state == 1000) { - rotate_loading.visibility = View.GONE + rotate_loading.hide() } } }