|
@@ -57,17 +57,17 @@ class Anilist(private val context: Context, id: Int) : TrackService(id) {
|
|
|
override fun getLogoColor() = Color.rgb(18, 25, 35)
|
|
|
|
|
|
override fun getStatusList(): List<Int> {
|
|
|
- return listOf(READING, COMPLETED, PAUSED, DROPPED, PLANNING, REPEATING)
|
|
|
+ return listOf(READING, PLANNING, COMPLETED, REPEATING, PAUSED, DROPPED)
|
|
|
}
|
|
|
|
|
|
override fun getStatus(status: Int): String = with(context) {
|
|
|
when (status) {
|
|
|
READING -> getString(R.string.reading)
|
|
|
+ PLANNING -> getString(R.string.plan_to_read)
|
|
|
COMPLETED -> getString(R.string.completed)
|
|
|
+ REPEATING -> getString(R.string.repeating)
|
|
|
PAUSED -> getString(R.string.paused)
|
|
|
DROPPED -> getString(R.string.dropped)
|
|
|
- PLANNING -> getString(R.string.plan_to_read)
|
|
|
- REPEATING -> getString(R.string.repeating)
|
|
|
else -> ""
|
|
|
}
|
|
|
}
|