1
0
Fork 0
mirror of https://github.com/mihonapp/mihon.git synced 2025-04-03 11:03:28 +03:00

Fix sporadically recurring spotless CI failure ()

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(), chapters = chapters.toTypedArray(),
) )
if ( if (!read || successState?.hasLoggedInTrackers == false || autoTrackState == AutoTrackState.NEVER) {
successState?.hasLoggedInTrackers == false ||
!read || autoTrackState == AutoTrackState.NEVER
) {
return@launchIO return@launchIO
} }