From c98b19709edd095caba6196aa877ae257c8b657e Mon Sep 17 00:00:00 2001 From: Albin Date: Wed, 9 Aug 2023 13:55:06 +0200 Subject: [PATCH] Fix ui location glitch sometimes happening on disconnect This issue was mitigated by increasing the ui state debounce delay. --- .../kotlin/net/mullvad/mullvadvpn/viewmodel/ConnectViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/viewmodel/ConnectViewModel.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/viewmodel/ConnectViewModel.kt index 0798bc50afc7..7021667101d8 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/viewmodel/ConnectViewModel.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/viewmodel/ConnectViewModel.kt @@ -144,6 +144,6 @@ class ConnectViewModel(private val serviceConnectionManager: ServiceConnectionMa } companion object { - const val UI_STATE_DEBOUNCE_DURATION_MILLIS: Long = 100 + const val UI_STATE_DEBOUNCE_DURATION_MILLIS: Long = 200 } }