Skip to content

Commit

Permalink
Merge branch 'fix-connect-ui-state-preview-parameter'
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Sep 18, 2024
2 parents 7d87bbb + b3472c0 commit 86d52d4
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<ConnectUiState> {
override val values = sequenceOf(ConnectUiState.INITIAL) + generateOtherStates()
Expand Down Expand Up @@ -43,8 +40,6 @@ private fun generateOtherStates(): Sequence<ConnectUiState> =
),
selectedRelayItemTitle = "Relay Title",
tunnelState = state,
inAddress = Triple("inaddress", PORT, TransportProtocol.Tcp),
outAddress = "192.168.1.1",
showLocation = true,
inAppNotification = null,
deviceName = "Cool Beans",
Expand Down

0 comments on commit 86d52d4

Please sign in to comment.