From ed9e13a365ba1b55cec21c26b93b1c62d29485c8 Mon Sep 17 00:00:00 2001 From: MajorTanya <39014446+MajorTanya@users.noreply.github.com> Date: Wed, 30 Oct 2024 14:48:52 +0100 Subject: [PATCH] Fix sporadically recurring spotless CI failure (#1407) Somehow this specific issue keeps getting flagged by unrelated PRs' CI runs (but only sometimes? Somehow? Other times the CI run would succeed with no spotless issues.) --------- Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com> --- .../java/eu/kanade/tachiyomi/ui/manga/MangaScreenModel.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreenModel.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreenModel.kt index 75f730f0d..f05d71392 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreenModel.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaScreenModel.kt @@ -736,10 +736,7 @@ class MangaScreenModel( chapters = chapters.toTypedArray(), ) - if ( - successState?.hasLoggedInTrackers == false || - !read || autoTrackState == AutoTrackState.NEVER - ) { + if (!read || successState?.hasLoggedInTrackers == false || autoTrackState == AutoTrackState.NEVER) { return@launchIO }