zcash-android-wallet-zcon1/zcash-android-wallet-app/app/src/main/java/cash/z/android/wallet/di/module/ApplicationModule.kt

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()
}