Skip to content

Commit

Permalink
修改部分bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Sep 5, 2024
1 parent ee3dfc7 commit d9c88ea
Show file tree
Hide file tree
Showing 18 changed files with 7 additions and 2 deletions.
Binary file modified src-tauri/icons/128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/128x128@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square107x107Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square142x142Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square150x150Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square284x284Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square30x30Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square310x310Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square44x44Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square71x71Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/Square89x89Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/StoreLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/icons/icon.ico
Binary file not shown.
Binary file modified src-tauri/icons/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src-tauri/images/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
"package": {
"productName": "Clash Verge OneClick",
"version": "1.8.2"
"version": "1.8.3"
},
"build": {
"distDir": "../dist",
Expand Down
7 changes: 6 additions & 1 deletion src/pages/quick.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { useState, useMemo, useRef, useEffect } from "react";
import { useTranslation } from "react-i18next";
import { ConfigViewer } from "@/components/setting/mods/config-viewer";
import { Virtuoso } from "react-virtuoso";
import {
getRules,
getClashConfig,
closeAllConnections,
updateConfigs,
} from "@/services/api";
import { BaseEmpty, BasePage, Notice } from "@/components/base";
import { BaseEmpty, BasePage, Notice, DialogRef } from "@/components/base";
import RuleItem from "@/components/rule/rule-item";
import { ProviderButton } from "@/components/rule/provider-button";
import { useCustomTheme } from "@/components/layout/use-custom-theme";
Expand All @@ -34,6 +35,7 @@ import {
ProfileViewer,
ProfileViewerRef,
} from "@/components/profile/profile-viewer";

import {
getProfiles,
importProfile,
Expand Down Expand Up @@ -172,6 +174,7 @@ const QuickPage = () => {
}, [profiles]);

const isEmpty = profileItems.length === 0;
const configRef = useRef<DialogRef>(null);

const currentActivatings = () => {
return [...new Set([profiles.current ?? ""])].filter(Boolean);
Expand Down Expand Up @@ -529,6 +532,8 @@ const QuickPage = () => {
</DndContext>
</Box>
<ProxyGroups mode={curMode!} />
<ProfileViewer ref={viewerRef} onChange={() => mutateProfiles()} />
<ConfigViewer ref={configRef} />
</BasePage>
);
};
Expand Down

0 comments on commit d9c88ea

Please sign in to comment.