fix: after importing a subscription, it cannot be automatically switched to the current subscription.

This commit is contained in:
huzibaca
2024-09-13 18:17:14 +08:00
parent 983d1ea361
commit a0b266fef8
5 changed files with 45 additions and 28 deletions

View File

@@ -63,7 +63,6 @@ export async function saveProfileFile(index: string, fileData: string) {
export async function importProfile(url: string) {
return invoke<void>("import_profile", {
url,
name: null,
option: { with_proxy: true },
});
}