From b3472c00ccc7f6af7e023dfe5f47897cb8d75cb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kalle=20Lindstr=C3=B6m?= Date: Wed, 18 Sep 2024 16:30:55 +0200 Subject: [PATCH] Fix connect screen ui parameters --- .../preview/ConnectUiStatePreviewParameterProvider.kt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/preview/ConnectUiStatePreviewParameterProvider.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/preview/ConnectUiStatePreviewParameterProvider.kt index 3a37033a8f67..50fe6244f73e 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/preview/ConnectUiStatePreviewParameterProvider.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/preview/ConnectUiStatePreviewParameterProvider.kt @@ -5,9 +5,6 @@ import java.net.InetAddress import net.mullvad.mullvadvpn.compose.state.ConnectUiState import net.mullvad.mullvadvpn.lib.model.ActionAfterDisconnect import net.mullvad.mullvadvpn.lib.model.GeoIpLocation -import net.mullvad.mullvadvpn.lib.model.TransportProtocol - -private const val PORT = 23451 class ConnectUiStatePreviewParameterProvider : PreviewParameterProvider { override val values = sequenceOf(ConnectUiState.INITIAL) + generateOtherStates() @@ -43,8 +40,6 @@ private fun generateOtherStates(): Sequence = ), selectedRelayItemTitle = "Relay Title", tunnelState = state, - inAddress = Triple("inaddress", PORT, TransportProtocol.Tcp), - outAddress = "192.168.1.1", showLocation = true, inAppNotification = null, deviceName = "Cool Beans",