mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-03 10:54:38 -05:00
Lint
This commit is contained in:
@@ -199,11 +199,12 @@ object Extension {
|
|||||||
it[versionCode] = packageInfo.versionCode.toLong()
|
it[versionCode] = packageInfo.versionCode.toLong()
|
||||||
it[lang] = extensionLang
|
it[lang] = extensionLang
|
||||||
// todo will change
|
// todo will change
|
||||||
it[contentRating] = if (isNsfw) {
|
it[contentRating] =
|
||||||
ContentRating.PORNOGRAPHIC.ordinal
|
if (isNsfw) {
|
||||||
} else {
|
ContentRating.PORNOGRAPHIC.ordinal
|
||||||
ContentRating.SAFE.ordinal
|
} else {
|
||||||
}
|
ContentRating.SAFE.ordinal
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user