mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
remove context from networker creation call
This commit is contained in:
parent
9a4c8a6886
commit
4cfa99e063
1 changed files with 1 additions and 4 deletions
|
|
@ -21,8 +21,5 @@ object AppModule {
|
|||
|
||||
@Singleton
|
||||
@Provides
|
||||
fun provideNetworker(
|
||||
@ApplicationContext app: Context,
|
||||
datastore: DatastoreRepository
|
||||
): Networker = Networker(datastore)
|
||||
fun provideNetworker(datastore: DatastoreRepository) = Networker(datastore)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue