From a81e95b19252cc0026403d9cb9d20d5e7c39dc76 Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Wed, 11 Aug 2021 22:22:52 -0400 Subject: [PATCH] removing one of the post calls in library just as a start --- .../eu/kanade/tachiyomi/ui/library/LibraryController.kt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt index dc21aaed20..4cd8ccf6f1 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt @@ -565,10 +565,9 @@ class LibraryController( ) // Using a double post because when the filter sheet is open it hides the hopper - view.post { - view.post { - updateHopperY() - } + viewScope.launchUI { + delay(50) + updateHopperY() } setSwipeRefresh()