|
@@ -216,6 +216,7 @@ lateinit var vpnConnectionsUtil: VPNConnectionsUtil
|
|
|
val lastServer1 = prefHelper.getServerObject()
|
|
|
}
|
|
|
}
|
|
|
+ serverListViewModelSplash.setCountryData()
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -924,6 +925,8 @@ fun ColumnScope.ShowProtocolDialog(
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+// serverListViewModelSplash.setCountryData()
|
|
|
+
|
|
|
// Log.d("server_protocol", "Home: $isServerFound ${desiredServer.id} ${desiredServer.server_name} ${desiredServer.ip} ${desiredServer.protocol} ${desiredServer.remoteId}")
|
|
|
|
|
|
|
|
@@ -988,6 +991,7 @@ fun ColumnScope.ShowProtocolDialog(
|
|
|
Button(
|
|
|
onClick = {
|
|
|
Log.d("ServerCallbacks", "Yes")
|
|
|
+ serverListViewModelSplash.setCountryData()
|
|
|
val server = if (isServerFound) desiredServer else prefHelper.getConnectedServer()
|
|
|
prefHelper.setServerObject(server)
|
|
|
prefHelper.setConnectedServer(server)
|