This commit is contained in:
rebelonion 2024-03-02 14:57:22 -06:00
commit fcd5c621de
7 changed files with 428 additions and 215 deletions

View file

@ -135,7 +135,7 @@ class StatsFragment(private val user: Query.UserProfile, private val activity: P
val names: List<String> = if (anime) {
stats?.data?.user?.statistics?.anime?.formats?.map { it.format } ?: emptyList()
} else {
stats?.data?.user?.statistics?.manga?.formats?.map { it.format } ?: emptyList()
stats?.data?.user?.statistics?.manga?.countries?.map { it.country } ?: emptyList()
}
val values: List<Number> = if (anime) {
when (statType) {