Skip to content

Commit

Permalink
core: Update SwissTransfer with network
Browse files Browse the repository at this point in the history
  • Loading branch information
sirambd committed Jul 9, 2024
1 parent dd90b10 commit 0bfcfb6
Showing 1 changed file with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,8 @@ class SwissTransferInjection {
private val realmProvider by lazy { RealmProvider() }
private val apiClientProvider by lazy { ApiClientProvider() }

private val transferRepository by lazy {
TransferRepository(
json = apiClientProvider.json,
httpClient = apiClientProvider.createHttpClient(),
)
}
private val uploadRepository by lazy {
UploadRepository(
json = apiClientProvider.json,
httpClient = apiClientProvider.createHttpClient(),
)
}
private val transferRepository by lazy { TransferRepository(apiClientProvider) }
private val uploadRepository by lazy { UploadRepository(apiClientProvider) }

/**
* Loads the default user account and initializes Realm transfers
Expand Down

0 comments on commit 0bfcfb6

Please sign in to comment.