diff --git a/lib/app/modules/hi_user_info/views/hi_user_info_view.dart b/lib/app/modules/hi_user_info/views/hi_user_info_view.dart index f557686..1705bd7 100755 --- a/lib/app/modules/hi_user_info/views/hi_user_info_view.dart +++ b/lib/app/modules/hi_user_info/views/hi_user_info_view.dart @@ -23,6 +23,7 @@ import 'package:kaer_with_panels/app/widgets/kr_subscription_expiry_text.dart'; import 'package:kaer_with_panels/singbox/model/singbox_status.dart'; import 'package:kaer_with_panels/app/services/singbox_imp/kr_sing_box_imp.dart'; import 'package:kaer_with_panels/app/utils/kr_log_util.dart'; +import 'package:kaer_with_panels/app/utils/kr_secure_storage.dart'; class HIUserInfoView extends GetView { const HIUserInfoView({super.key}); @@ -321,6 +322,8 @@ class HIUserInfoView extends GetView { confirmText: '返回', onCancel: () async { // 如果删的是当前设备,应该先关闭vpn的连接 + await KRSecureStorage() + .kr_deleteData(key: 'kr_quick_connect_enabled'); await _stopVpnIfRunning(); final currentDevice = controller.devices.firstWhere(