From 7285af5c2de2f0da8b231b04039a7f8a38a64d78 Mon Sep 17 00:00:00 2001 From: Zane Schepke Date: Wed, 18 Dec 2024 20:19:38 -0500 Subject: [PATCH] fix: location services wifi toggle --- .../ui/screens/settings/autotunnel/AutoTunnelScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/settings/autotunnel/AutoTunnelScreen.kt b/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/settings/autotunnel/AutoTunnelScreen.kt index d6536f9..e45bdb2 100644 --- a/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/settings/autotunnel/AutoTunnelScreen.kt +++ b/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/screens/settings/autotunnel/AutoTunnelScreen.kt @@ -106,7 +106,7 @@ fun AutoTunnelScreen(uiState: AppUiState, viewModel: AutoTunnelViewModel = hiltV showLocationServicesAlertDialog, onDismiss = { showLocationServicesAlertDialog = false }, onAttest = { - viewModel.onToggleTunnelOnWifi() + showLocationServicesAlertDialog = false }, )