alroyso 4 tháng trước cách đây
mục cha
commit
4995a34f66
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      lib/app/controller/tray.dart

+ 3 - 0
lib/app/controller/tray.dart

@@ -39,6 +39,9 @@ class TrayController extends GetxController with TrayListener {
       disabledTun.value == false;
     } else {
       disabledTun.value = tun == "true" ? true : false;
+      if(tun == "true" ){
+        await controllers.global.TunProxySwitch(disabledTun.value);
+      }
     }