19 lines
465 B
Kotlin
19 lines
465 B
Kotlin
package cash.z.android.wallet.di.module
|
|
|
|
import cash.z.android.qrecycler.QRecycler
|
|
import dagger.Module
|
|
import dagger.Provides
|
|
|
|
/**
|
|
* Module that contributes all the objects with application scope. Anything that should live globally belongs here.
|
|
*/
|
|
@Module
|
|
internal object ApplicationModule {
|
|
@JvmStatic
|
|
@Provides
|
|
fun provideSanity(): SanityCheck = SanityCheck(true)
|
|
|
|
@JvmStatic
|
|
@Provides
|
|
fun provideQRecycler(): QRecycler = QRecycler()
|
|
} |