|
@@ -236,6 +236,7 @@ class GlobalController extends GetxController {
|
|
|
if (!await checkAllCoresStopped()) {
|
|
|
throw Exception("内核未启动");
|
|
|
}
|
|
|
+ await swift(selectedNode.value?.name ?? "");
|
|
|
|
|
|
} catch (e) {
|
|
|
handleApiError(e);
|
|
@@ -311,6 +312,7 @@ class GlobalController extends GetxController {
|
|
|
// await TunProxySwitch(true);
|
|
|
await makeProxy();
|
|
|
await controllers.cc_service.reloadClashCore();
|
|
|
+ await swift(selectedNode.value?.name ?? "");
|
|
|
}
|
|
|
|
|
|
Future<void> systemProxySwitch(bool open) async {
|