repo_description: Professional Antigravity Account Manager & Switcher. One-click seamless account switching for Antigravity Tools. Built with Tauri v2 + React (Rust).专业的 Antigravity 账号管理与切换工具。为 Antigravity 提供一键无缝账号切换功能。
repo_topics: account-manager antigravity
code: import { create } from 'zustand';
  
  interface ViewState {
      isMiniView: boolean;
      setMiniView: (isMini: boolean) => void;
      toggleMiniView: () => void;
  }
  
  export const useViewStore = create<ViewState>((set) => ({
      isMiniView: false,
      setMiniView: (isMini) => set({ isMiniView: isMini }),
      toggleMiniView: () => set((state) => ({ isMiniView: !state.isMiniView })),
  }));
  