File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
android/app/src/main/kotlin/net/mullvad/mullvadvpn/di Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import net.mullvad.mullvadvpn.lib.intent.IntentProvider
8
8
import net.mullvad.mullvadvpn.lib.model.BuildVersion
9
9
import net.mullvad.mullvadvpn.lib.shared.AccountRepository
10
10
import net.mullvad.mullvadvpn.lib.shared.ConnectionProxy
11
+ import net.mullvad.mullvadvpn.lib.shared.DeviceRepository
11
12
import net.mullvad.mullvadvpn.lib.shared.VpnPermissionRepository
12
13
import org.koin.android.ext.koin.androidContext
13
14
import org.koin.core.qualifier.named
@@ -25,6 +26,7 @@ val appModule = module {
25
26
single { BuildVersion (BuildConfig .VERSION_NAME , BuildConfig .VERSION_CODE ) }
26
27
single { IntentProvider () }
27
28
single { AccountRepository (get(), get(), MainScope ()) }
29
+ single { DeviceRepository (get()) }
28
30
single { VpnPermissionRepository (androidContext()) }
29
31
single { ConnectionProxy (get(), get()) }
30
32
}
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import net.mullvad.mullvadvpn.constant.IS_PLAY_BUILD
11
11
import net.mullvad.mullvadvpn.dataproxy.MullvadProblemReport
12
12
import net.mullvad.mullvadvpn.lib.model.GeoLocationId
13
13
import net.mullvad.mullvadvpn.lib.payment.PaymentProvider
14
- import net.mullvad.mullvadvpn.lib.shared.DeviceRepository
15
14
import net.mullvad.mullvadvpn.lib.shared.VoucherRepository
16
15
import net.mullvad.mullvadvpn.repository.ChangelogRepository
17
16
import net.mullvad.mullvadvpn.repository.CustomListsRepository
@@ -100,7 +99,6 @@ val uiModule = module {
100
99
single { androidContext().contentResolver }
101
100
102
101
single { ChangelogRepository (get(named(APP_PREFERENCES_NAME )), get()) }
103
- single { DeviceRepository (get()) }
104
102
single {
105
103
PrivacyDisclaimerRepository (
106
104
androidContext().getSharedPreferences(APP_PREFERENCES_NAME , Context .MODE_PRIVATE ),
You can’t perform that action at this time.
0 commit comments