Skip to content

Commit b2174e1

Browse files
committed
refactor: remove unused tray icon configuration and clean up theme loader code
1 parent f63c70b commit b2174e1

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

src-tauri/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,6 @@ pub fn run() {
801801
let app_handle_for_click = app_handle.clone();
802802

803803
let _tray = TrayIconBuilder::with_id("main")
804-
.icon(app.default_window_icon().unwrap().clone())
805804
.menu(&menu)
806805
.show_menu_on_left_click(false)
807806
.on_menu_event(move |_tray, event| match event.id.as_ref() {

src-tauri/tauri.conf.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
],
2222
"security": {
2323
"csp": null
24-
},
25-
"trayIcon": {
26-
"iconPath": "icons/32x32.png",
27-
"iconAsTemplate": true
2824
}
2925
},
3026
"bundle": {

src/utils/theme-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ThemeLoader {
3939
// that gets updated by the build process or manually maintained
4040

4141
// This could be enhanced to use a build-time script that generates this list
42-
const knownThemes = [
42+
const knownThemes = [
4343
'espresso.css',
4444
'matrix.css',
4545
'pommodore64.css'

0 commit comments

Comments
 (0)