diff options
| author | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2026-03-27 12:23:59 +0100 |
|---|---|---|
| committer | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2026-03-29 23:10:34 +0200 |
| commit | 952354cb33a69df1a58b1a32858e5143882f72e2 (patch) | |
| tree | fbb215f393548c3ae69954b5a9be8a055ce92ebc /android/app/src | |
| parent | 726ce1a3fddf0eb613ef8f8d15fe2a30dbd76c10 (diff) | |
| download | mullvadvpn-hackday-remote-compose.tar.xz mullvadvpn-hackday-remote-compose.zip | |
An attempt was madehackday-remote-compose
Diffstat (limited to 'android/app/src')
| -rw-r--r-- | android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/UiModule.kt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/UiModule.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/UiModule.kt index 9ce95697d5..c4e288296d 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/UiModule.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/di/UiModule.kt @@ -52,7 +52,9 @@ import net.mullvad.mullvadvpn.feature.problemreport.impl.viewlogs.ViewLogsViewMo import net.mullvad.mullvadvpn.feature.redeemvoucher.impl.VoucherDialogViewModel import net.mullvad.mullvadvpn.feature.serveripoverride.impl.ServerIpOverridesViewModel import net.mullvad.mullvadvpn.feature.serveripoverride.impl.reset.ResetServerIpOverridesConfirmationViewModel +import net.mullvad.mullvadvpn.feature.settings.impl.FaqRemoteViewModel import net.mullvad.mullvadvpn.feature.settings.impl.SettingsViewModel +import net.mullvad.mullvadvpn.feature.settings.impl.server.Server import net.mullvad.mullvadvpn.feature.splittunneling.impl.SplitTunnelingViewModel import net.mullvad.mullvadvpn.feature.splittunneling.impl.applist.ApplicationsProvider import net.mullvad.mullvadvpn.feature.vpnsettings.impl.VpnSettingsViewModel @@ -255,6 +257,8 @@ val uiModule = module { single { RelayListScrollConnection() } + single { Server(androidContext()) } + // View models viewModel { AccountViewModel(get(), get(), get()) } viewModel { DeleteAccountConfirmationViewModel(get(), get()) } @@ -417,6 +421,7 @@ val uiModule = module { } viewModel { AppearanceViewModel(get()) } viewModel { AutoConnectAndLockdownModeViewModel(isPlayBuild = IS_PLAY_BUILD) } + viewModel { FaqRemoteViewModel(get()) } // This view model must be single so we correctly attach lifecycle and share it with activity single { MullvadAppViewModel(get(), get()) } |
