Lint
This commit is contained in:
parent
acb9bafa0a
commit
37d9a51706
@ -46,14 +46,14 @@ class SearchController(
|
|||||||
private var progress = 1
|
private var progress = 1
|
||||||
var totalProgress = 0
|
var totalProgress = 0
|
||||||
|
|
||||||
constructor(mangaId: Long, sources: LongArray):
|
constructor(mangaId: Long, sources: LongArray) :
|
||||||
this(
|
this(
|
||||||
Injekt.get<DatabaseHelper>().getManga(mangaId).executeAsBlocking(),
|
Injekt.get<DatabaseHelper>().getManga(mangaId).executeAsBlocking(),
|
||||||
sources.map { Injekt.get<SourceManager>().getOrStub(it) }.filterIsInstance<CatalogueSource>()
|
sources.map { Injekt.get<SourceManager>().getOrStub(it) }.filterIsInstance<CatalogueSource>()
|
||||||
)
|
)
|
||||||
|
|
||||||
@Suppress("unused")
|
@Suppress("unused")
|
||||||
constructor(bundle: Bundle): this(
|
constructor(bundle: Bundle) : this(
|
||||||
bundle.getLong(OLD_MANGA),
|
bundle.getLong(OLD_MANGA),
|
||||||
bundle.getLongArray(SOURCES) ?: LongArray(0)
|
bundle.getLongArray(SOURCES) ?: LongArray(0)
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user