fix: delete tunnel bug

closes #435
This commit is contained in:
Zane Schepke 2024-11-12 22:47:03 -05:00
parent e9ae48f96c
commit 2993f1db22
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ fun MainScreen(viewModel: MainViewModel = hiltViewModel(), uiState: AppUiState)
InfoDialog(
onDismiss = { showDeleteTunnelAlertDialog = false },
onAttest = {
selectedTunnel?.let { viewModel::onDelete }
selectedTunnel?.let { viewModel.onDelete(it) }
showDeleteTunnelAlertDialog = false
selectedTunnel = null
},