Linting
This commit is contained in:
parent
20ae97cd98
commit
8b8b17bb2d
2 changed files with 5 additions and 3 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(
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ import okhttp3.Response
|
|||
import rx.Observable
|
||||
import uy.kohesive.injekt.Injekt
|
||||
import uy.kohesive.injekt.api.get
|
||||
import uy.kohesive.injekt.injectLazy
|
||||
import java.net.URI
|
||||
import java.net.URISyntaxException
|
||||
import java.security.MessageDigest
|
||||
|
|
|
|||
Loading…
Reference in a new issue