mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 20:31:51 +01:00
Fix lint error (#8000)
This commit is contained in:
parent
c51e83c048
commit
9e5d79aec3
@ -17,8 +17,11 @@ class GetExtensionLanguages(
|
|||||||
) { enabledLanguage, availableExtensions ->
|
) { enabledLanguage, availableExtensions ->
|
||||||
availableExtensions
|
availableExtensions
|
||||||
.flatMap { ext ->
|
.flatMap { ext ->
|
||||||
if (ext.sources.isEmpty()) listOf(ext.lang)
|
if (ext.sources.isEmpty()) {
|
||||||
else ext.sources.map { it.lang }
|
listOf(ext.lang)
|
||||||
|
} else {
|
||||||
|
ext.sources.map { it.lang }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.distinct()
|
.distinct()
|
||||||
.sortedWith(
|
.sortedWith(
|
||||||
|
Loading…
Reference in New Issue
Block a user