From a570bd73554bff10bf91d38a079803cac3b78723 Mon Sep 17 00:00:00 2001 From: Cuong-Tran Date: Mon, 4 Nov 2024 13:01:23 +0700 Subject: [PATCH] Fix pager flow messed up Loading screen --- .../java/eu/kanade/presentation/browse/BrowseSourceScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/presentation/browse/BrowseSourceScreen.kt b/app/src/main/java/eu/kanade/presentation/browse/BrowseSourceScreen.kt index 6a428506f..f0d535613 100644 --- a/app/src/main/java/eu/kanade/presentation/browse/BrowseSourceScreen.kt +++ b/app/src/main/java/eu/kanade/presentation/browse/BrowseSourceScreen.kt @@ -109,7 +109,7 @@ fun BrowseSourceContent( return } - if (mangaList.itemCount == 0 && mangaList.loadState.refresh is LoadState.Loading) { + if (mangaList.loadState.refresh is LoadState.Loading) { LoadingScreen( modifier = Modifier.padding(contentPadding), )