mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-29 17:51:02 +00:00
chore: code cleanup
This commit is contained in:
@@ -56,9 +56,11 @@ class MediaDetailsViewModel : ViewModel() {
|
||||
media.anime != null -> {
|
||||
AnimeSources.list.size - 1
|
||||
}
|
||||
|
||||
media.format == "MANGA" || media.format == "ONE_SHOT" -> {
|
||||
MangaSources.list.size - 1
|
||||
}
|
||||
|
||||
else -> {
|
||||
NovelSources.list.size - 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user