Hide unknown rating in list
This commit is contained in:
@@ -18,7 +18,7 @@ fun Manga.toListDetailedModel() = MangaListDetailedModel(
|
||||
id = id,
|
||||
title = title,
|
||||
subtitle = altTitle,
|
||||
rating = "${(rating * 10).roundToInt()}/10",
|
||||
rating = if (rating == Manga.NO_RATING) null else "${(rating * 10).roundToInt()}/10",
|
||||
tags = tags.joinToString(", ") { it.title },
|
||||
coverUrl = coverUrl,
|
||||
manga = this
|
||||
|
||||
Reference in New Issue
Block a user