mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
17 lines
441 B
Kotlin
17 lines
441 B
Kotlin
|
package org.thoughtcrime.securesms.dependencies
|
||
|
|
||
|
import android.content.Context
|
||
|
import dagger.Module
|
||
|
import dagger.Provides
|
||
|
import dagger.hilt.InstallIn
|
||
|
import dagger.hilt.android.qualifiers.ApplicationContext
|
||
|
import dagger.hilt.components.SingletonComponent
|
||
|
|
||
|
@Module
|
||
|
@InstallIn(SingletonComponent::class)
|
||
|
object ContentModule {
|
||
|
|
||
|
@Provides
|
||
|
fun providesContentResolver(@ApplicationContext context: Context) =context.contentResolver
|
||
|
|
||
|
}
|