From bc914566dddfbb3314cf982e099c656875c66377 Mon Sep 17 00:00:00 2001 From: FooIbar <118464521+FooIbar@users.noreply.github.com> Date: Wed, 18 Oct 2023 23:18:11 +0800 Subject: [PATCH] Fix progress not showing after clicking error tip --- .../main/kotlin/com/hippo/ehviewer/ui/scene/FavoritesScene.kt | 1 + .../main/kotlin/com/hippo/ehviewer/ui/scene/GalleryListScene.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/app/src/main/kotlin/com/hippo/ehviewer/ui/scene/FavoritesScene.kt b/app/src/main/kotlin/com/hippo/ehviewer/ui/scene/FavoritesScene.kt index 134d164f0..d3d072720 100644 --- a/app/src/main/kotlin/com/hippo/ehviewer/ui/scene/FavoritesScene.kt +++ b/app/src/main/kotlin/com/hippo/ehviewer/ui/scene/FavoritesScene.kt @@ -348,6 +348,7 @@ class FavoritesScene : SearchBarScene() { if (!binding.refreshLayout.isRefreshing) { // https://github.com/FooIbar/EhViewer/issues/45 // transition.showView(1) + transition.showView(0, false) binding.refreshLayout.isRefreshing = true } } diff --git a/app/src/main/kotlin/com/hippo/ehviewer/ui/scene/GalleryListScene.kt b/app/src/main/kotlin/com/hippo/ehviewer/ui/scene/GalleryListScene.kt index 8d22840dc..33dfc13d4 100644 --- a/app/src/main/kotlin/com/hippo/ehviewer/ui/scene/GalleryListScene.kt +++ b/app/src/main/kotlin/com/hippo/ehviewer/ui/scene/GalleryListScene.kt @@ -381,6 +381,7 @@ class GalleryListScene : SearchBarScene() { if (!binding.refreshLayout.isRefreshing) { // https://github.com/FooIbar/EhViewer/issues/45 // transition.showView(1) + transition.showView(0, false) binding.refreshLayout.isRefreshing = true } }