2016-03-19 18:39:18 +01:00
|
|
|
package eu.kanade.tachiyomi
|
|
|
|
|
2016-06-06 16:14:56 +02:00
|
|
|
import eu.kanade.tachiyomi.injection.component.AppComponent
|
2016-03-19 18:39:18 +01:00
|
|
|
import eu.kanade.tachiyomi.injection.component.DaggerAppComponent
|
|
|
|
import eu.kanade.tachiyomi.injection.module.AppModule
|
|
|
|
import eu.kanade.tachiyomi.injection.module.TestDataModule
|
|
|
|
|
2016-03-19 21:09:51 +01:00
|
|
|
open class TestApp : App() {
|
2016-03-19 18:39:18 +01:00
|
|
|
|
2016-06-06 16:14:56 +02:00
|
|
|
override fun createAppComponent(): AppComponent {
|
2016-03-19 18:39:18 +01:00
|
|
|
return DaggerAppComponent.builder()
|
|
|
|
.appModule(AppModule(this))
|
|
|
|
.dataModule(TestDataModule())
|
2016-06-06 16:14:56 +02:00
|
|
|
.build()
|
2016-03-19 18:39:18 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
override fun setupAcra() {
|
|
|
|
// Do nothing
|
|
|
|
}
|
|
|
|
}
|