File tree 1 file changed +4
-10
lines changed
android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/dialog
1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import net.mullvad.mullvadvpn.compose.setContentWithTheme
21
21
import net.mullvad.mullvadvpn.compose.test.CUSTOM_PORT_DIALOG_INPUT_TEST_TAG
22
22
import net.mullvad.mullvadvpn.lib.model.PortRange
23
23
import net.mullvad.mullvadvpn.onNodeWithTagAndText
24
- import net.mullvad.mullvadvpn.viewmodel.WireguardCustomPortDialogUiState
25
24
import org.junit.jupiter.api.BeforeEach
26
25
import org.junit.jupiter.api.Test
27
26
import org.junit.jupiter.api.extension.RegisterExtension
@@ -50,17 +49,12 @@ class CustomPortDialogTest {
50
49
onResetPort : () -> Unit = {},
51
50
onDismiss : () -> Unit = {},
52
51
) {
53
- val state =
54
- WireguardCustomPortDialogUiState (
55
- portInput = portInput,
56
- isValidInput = isValidInput,
57
- allowedPortRanges = allowedPortRanges,
58
- showResetToDefault = showResetToDefault,
59
- )
60
-
61
52
CustomPortDialog (
62
- state,
63
53
title = title,
54
+ portInput = portInput,
55
+ isValidInput = isValidInput,
56
+ showResetToDefault = showResetToDefault,
57
+ allowedPortRanges = allowedPortRanges,
64
58
onInputChanged = onInputChanged,
65
59
onSavePort = onSavePort,
66
60
onDismiss = onDismiss,
You can’t perform that action at this time.
0 commit comments