feat: tray internationalization and shortcut display (#259)

This commit is contained in:
ayangweb
2025-03-07 12:42:55 +08:00
committed by GitHub
parent 58ce845fd2
commit a0b5867c9c
11 changed files with 169 additions and 27 deletions

View File

@@ -10,7 +10,6 @@ import ChatAI, { ChatAIRef } from "@/components/Assistant/Chat";
import { useAppStore } from "@/stores/appStore";
import { useAuthStore } from "@/stores/authStore";
import { isWin } from "@/utils/platform";
import { useMount } from "ahooks";
export default function DesktopApp() {
const initializeListeners = useAppStore((state) => state.initializeListeners);
@@ -20,9 +19,9 @@ export default function DesktopApp() {
const isPinned = useAppStore((state) => state.isPinned);
useMount(() => {
useEffect(() => {
invoke("get_app_search_source");
});
}, []);
useEffect(() => {
initializeListeners();