|
@@ -257,7 +257,7 @@ fun Home(navHostController: NavHostController, activity: ComponentActivity) {
|
|
|
}
|
|
|
var server: Server = Server()
|
|
|
val vpnConnectionsUtil = VPNConnectionsUtil(context, activity, homeViewModel)
|
|
|
- val wg = VPNConnectionsUtil(context, activity, homeViewModel)
|
|
|
+// val wg = VPNConnectionsUtil(context, activity, homeViewModel)
|
|
|
homeViewModel1 = homeViewModel
|
|
|
|
|
|
|
|
@@ -400,14 +400,14 @@ fun Home(navHostController: NavHostController, activity: ComponentActivity) {
|
|
|
if (isServerDialog.value) {
|
|
|
ShowServerDialog(
|
|
|
basePreferenceHelper,
|
|
|
- wg
|
|
|
+ vpnConnectionsUtil
|
|
|
)
|
|
|
}
|
|
|
|
|
|
if (isProtocolDialog.value) {
|
|
|
ShowProtocolDialog(
|
|
|
basePreferenceHelper,
|
|
|
- wg
|
|
|
+ vpnConnectionsUtil
|
|
|
)
|
|
|
}
|
|
|
|