Fix sporadically recurring spotless CI failure (mihonapp/mihon#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>
(cherry picked from commit ed9e13a365ba1b55cec21c26b93b1c62d29485c8)
This commit is contained in:
MajorTanya 2024-10-30 14:48:52 +01:00 committed by Cuong-Tran
parent eebcfa7371
commit b0ccbb07f0
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2

View file

@ -1340,11 +1340,7 @@ class MangaScreenModel(
chapters = chapters.toTypedArray(),
)
if (
successState?.hasLoggedInTrackers == false ||
!read ||
autoTrackState == AutoTrackState.NEVER
) {
if (!read || successState?.hasLoggedInTrackers == false || autoTrackState == AutoTrackState.NEVER) {
return@launchIO
}