mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-19 02:12:10 +08:00
Revert "refactor: profile switch (#5197)"
This reverts commit c2dcd86722.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user