summaryrefslogtreecommitdiffhomepage
path: root/android/app/src/main
diff options
context:
space:
mode:
authorKalle Lindström <karl.lindstrom@mullvad.net>2025-04-09 14:51:37 +0200
committerDavid Göransson <david.goransson@mullvad.net>2025-04-11 08:18:17 +0200
commit29cb4701e75f5f5ff95050ba9f99f32f1ebfc57d (patch)
treead34fb4be01be671584c8ee3107f1c97faf4ac89 /android/app/src/main
parentaffa09e9901fca9dc4a8120c4d339e41a65a1de3 (diff)
downloadmullvadvpn-29cb4701e75f5f5ff95050ba9f99f32f1ebfc57d.tar.xz
mullvadvpn-29cb4701e75f5f5ff95050ba9f99f32f1ebfc57d.zip
Add DeviceListViewModel test
Diffstat (limited to 'android/app/src/main')
-rw-r--r--android/app/src/main/kotlin/net/mullvad/mullvadvpn/viewmodel/DeviceListViewModel.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/viewmodel/DeviceListViewModel.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/viewmodel/DeviceListViewModel.kt
index e28fe1027d..fb94965532 100644
--- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/viewmodel/DeviceListViewModel.kt
+++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/viewmodel/DeviceListViewModel.kt
@@ -28,7 +28,7 @@ import net.mullvad.mullvadvpn.lib.shared.DeviceRepository
class DeviceListViewModel(
private val deviceRepository: DeviceRepository,
savedStateHandle: SavedStateHandle,
- private val dispatcher: CoroutineDispatcher = Dispatchers.Default,
+ private val dispatcher: CoroutineDispatcher = Dispatchers.IO,
) : ViewModel() {
private val accountNumber: AccountNumber =
DeviceListDestination.argsFrom(savedStateHandle).accountNumber