Simkl: show ReWatching in library

This commit is contained in:
Luna712 2024-03-08 12:35:23 -07:00 committed by GitHub
parent bd69054f5d
commit d756ad21b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -226,7 +226,7 @@ class SimklApi(index: Int) : AccountManager(index), SyncAPI {
Paused(2, R.string.type_on_hold, "hold"),
Dropped(3, R.string.type_dropped, "dropped"),
Planning(4, R.string.type_plan_to_watch, "plantowatch"),
ReWatching(5, R.string.type_re_watching, "watching"),
ReWatching(5, R.string.type_re_watching, "rewatching"),
None(-1, R.string.none, null);
companion object {
@ -1010,7 +1010,7 @@ class SimklApi(index: Int) : AccountManager(index), SyncAPI {
val baseMap =
SimklListStatusType.entries
.filter { it.value >= 0 && it.value != SimklListStatusType.ReWatching.value }
.filter { it.value >= 0 }
.associate {
it.stringRes to emptyList<SyncAPI.LibraryItem>()
}