Revert "refactor: profile switch (#5197)"

This reverts commit c2dcd86722.
This commit is contained in:
Tunglies
2025-10-30 18:11:04 +08:00
parent 928f226d10
commit a869dbb441
36 changed files with 1257 additions and 5894 deletions
+1 -8
View File
@@ -6,15 +6,8 @@ import {
RuleProvider,
} from "tauri-plugin-mihomo-api";
import { ProxiesView, type ProfileSwitchStatus } from "@/services/cmds";
export interface AppDataContextType {
proxies: ProxiesView | null;
proxyHydration: "none" | "snapshot" | "live";
proxyTargetProfileId: string | null;
proxyDisplayProfileId: string | null;
isProxyRefreshPending: boolean;
switchStatus: ProfileSwitchStatus | null;
proxies: any;
clashConfig: BaseConfig;
rules: Rule[];
sysproxy: any;