mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 07:27:49 +01:00
Fix lint error (#8000)
This commit is contained in:
parent
c51e83c048
commit
9e5d79aec3
1 changed files with 5 additions and 2 deletions
|
@ -17,8 +17,11 @@ class GetExtensionLanguages(
|
|||
) { enabledLanguage, availableExtensions ->
|
||||
availableExtensions
|
||||
.flatMap { ext ->
|
||||
if (ext.sources.isEmpty()) listOf(ext.lang)
|
||||
else ext.sources.map { it.lang }
|
||||
if (ext.sources.isEmpty()) {
|
||||
listOf(ext.lang)
|
||||
} else {
|
||||
ext.sources.map { it.lang }
|
||||
}
|
||||
}
|
||||
.distinct()
|
||||
.sortedWith(
|
||||
|
|
Loading…
Reference in a new issue