Updated on 2026-08-14

This commit is contained in:
Tangem 2019-03-29 14:03:36 +03:00
parent dd4584835f
commit 424c9f8898
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,18 @@
package com.tangem.di
import android.app.Application
import android.content.Context
import dagger.Module
import javax.inject.Singleton
import dagger.Provides
@Module
class AppModule {
@Provides
@Singleton
fun provideContext(application: Application): Context {
return application
}
}

View file

@ -24,4 +24,6 @@ class ToastHelper {
}.show()
}
}