mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2025-01-04 06:51:50 +01:00
linting
This commit is contained in:
parent
30250f2f82
commit
359ed5a8cd
app/src/main/java/eu/kanade/tachiyomi/ui/browse/source
@ -122,8 +122,7 @@ class SourcePresenter(
|
||||
val localSource = sourceManager.get(LocalSource.ID)
|
||||
return sourceManager.getCatalogueSources()
|
||||
.filter { it.lang in languages }
|
||||
.filterNot { it.id.toString() in disabledSourceIds }
|
||||
.filterNot { it.id.toString() == localSource.toString() }
|
||||
.filterNot { it.id.toString() in disabledSourceIds + localSource?.id.toString() }
|
||||
.sortedBy { "(${it.lang}) ${it.name.lowercase()}" } +
|
||||
localSource as LocalSource
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user