mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Update WatchType.kt
This commit is contained in:
parent
e886fde8b8
commit
5f51a8f7bc
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ enum class SyncWatchType(val internalId: Int, @StringRes val stringRes: Int, @Dr
|
||||||
ONHOLD(2, R.string.type_on_hold, R.drawable.ic_baseline_bookmark_24),
|
ONHOLD(2, R.string.type_on_hold, R.drawable.ic_baseline_bookmark_24),
|
||||||
DROPPED(3, R.string.type_dropped, R.drawable.ic_baseline_bookmark_24),
|
DROPPED(3, R.string.type_dropped, R.drawable.ic_baseline_bookmark_24),
|
||||||
PLANTOWATCH(4, R.string.type_plan_to_watch, R.drawable.ic_baseline_bookmark_24),
|
PLANTOWATCH(4, R.string.type_plan_to_watch, R.drawable.ic_baseline_bookmark_24),
|
||||||
REWATCHING(5, R.string.type_plan_to_watch, R.drawable.ic_baseline_bookmark_24);
|
REWATCHING(5, R.string.type_re_watching, R.drawable.ic_baseline_bookmark_24);
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
fun fromInternalId(id: Int?) = values().find { value -> value.internalId == id } ?: NONE
|
fun fromInternalId(id: Int?) = values().find { value -> value.internalId == id } ?: NONE
|
||||||
|
|
Loading…
Reference in a new issue