mirror of
https://github.com/mihonapp/mihon.git
synced 2024-10-31 21:20:59 -04:00
14 lines
297 B
Kotlin
14 lines
297 B
Kotlin
|
package eu.kanade.data.source
|
||
|
|
||
|
import eu.kanade.domain.source.model.Source
|
||
|
import eu.kanade.tachiyomi.source.CatalogueSource
|
||
|
|
||
|
val sourceMapper: (CatalogueSource) -> Source = { source ->
|
||
|
Source(
|
||
|
source.id,
|
||
|
source.lang,
|
||
|
source.name,
|
||
|
source.supportsLatest
|
||
|
)
|
||
|
}
|