mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-20 19:42:35 +01:00
Minor cleanup
This commit is contained in:
@@ -15,9 +15,7 @@ fun TaskContainerScope.registerLocalizationTask(project: Project) {
|
|||||||
.orEmpty()
|
.orEmpty()
|
||||||
val json = JsonObject().apply {
|
val json = JsonObject().apply {
|
||||||
val array = JsonArray().apply {
|
val array = JsonArray().apply {
|
||||||
langs.forEach {
|
langs.forEach(::add)
|
||||||
add(it)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
add("langs", array)
|
add("langs", array)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user