refactor: update icon handling in tray methods to accept IVerge reference and improve logging #5379 (#5387)

* refactor: update icon handling in tray methods to accept IVerge reference and improve logging #5379

* refactor: simplify icon retrieval logic in Tray implementation
This commit is contained in:
Tunglies
2025-11-10 19:06:37 +08:00
committed by GitHub
parent 7d42d5cb0f
commit 33f575ed4d
5 changed files with 47 additions and 30 deletions
@@ -425,7 +425,6 @@ export const LayoutViewer = forwardRef<DialogRef>((_, ref) => {
await initIconPath();
onChangeData({ common_tray_icon: true });
patchVerge({ common_tray_icon: true });
console.log();
}
}
}}