mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-16 16:19:19 +01:00
Fix lint error (#8000)
This commit is contained in:
parent
c51e83c048
commit
9e5d79aec3
@ -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 New Issue
Block a user