This commit is contained in:
len 2016-10-09 14:42:27 +02:00
parent 909917e133
commit 9c1e2c3c45

View File

@ -27,16 +27,16 @@ open class SourceManager(private val context: Context) {
fun getOnlineSources() = sourcesMap.values.filterIsInstance(OnlineSource::class.java) fun getOnlineSources() = sourcesMap.values.filterIsInstance(OnlineSource::class.java)
private fun createOnlineSourceList(): List<Source> = listOf( private fun createOnlineSourceList(): List<Source> = listOf(
Batoto(1), Batoto(1),
Kissmanga(2), Mangahere(2),
Mangahere(3), Mangafox(3),
Mangafox(4), Kissmanga(4),
Readmanga(5), Readmanga(5),
Mintmanga(6), Mintmanga(6),
Mangachan(7), Mangachan(7),
Readmangatoday(8), Readmangatoday(8),
Mangasee(9), Mangasee(9),
WieManga(10) WieManga(10)
) )
private fun createSources(): Map<Int, Source> = hashMapOf<Int, Source>().apply { private fun createSources(): Map<Int, Source> = hashMapOf<Int, Source>().apply {