From 4e766d9407502ce176a9f48bd9b63bc49da982ad Mon Sep 17 00:00:00 2001 From: chen08209 Date: Mon, 9 Sep 2024 09:48:26 +0800 Subject: [PATCH] Fix delete profile error --- lib/controller.dart | 1 + lib/fragments/about.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/controller.dart b/lib/controller.dart index 542e619d..5acb365b 100644 --- a/lib/controller.dart +++ b/lib/controller.dart @@ -102,6 +102,7 @@ class AppController { final updateId = config.profiles.first.id; changeProfile(updateId); } else { + changeProfile(null); updateStatus(false); } } diff --git a/lib/fragments/about.dart b/lib/fragments/about.dart index ec629550..65d8ae56 100644 --- a/lib/fragments/about.dart +++ b/lib/fragments/about.dart @@ -47,7 +47,7 @@ class AboutFragment extends StatelessWidget { title: const Text("Telegram"), onTap: () { globalState.openUrl( - "https://t.me/+G-veVtwBOl4wODc1", + "https://t.me/FlClash", ); }, trailing: const Icon(Icons.launch), diff --git a/pubspec.yaml b/pubspec.yaml index a314f27e..9f0b5c5d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: fl_clash description: A multi-platform proxy client based on ClashMeta, simple and easy to use, open-source and ad-free. publish_to: 'none' -version: 0.8.58+202409081 +version: 0.8.59+202409091 environment: sdk: '>=3.1.0 <4.0.0' flutter: 3.22.3