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>
This commit is contained in:
MajorTanya 2024-10-30 14:48:52 +01:00 committed by GitHub
parent 371c1432e2
commit ed9e13a365
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}