Fix delete profile error

This commit is contained in:
chen08209
2024-09-09 09:48:26 +08:00
parent 80f8aa22ee
commit 4e766d9407
3 changed files with 3 additions and 2 deletions

View File

@@ -102,6 +102,7 @@ class AppController {
final updateId = config.profiles.first.id;
changeProfile(updateId);
} else {
changeProfile(null);
updateStatus(false);
}
}

View File

@@ -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),