1
0
mirror of https://github.com/lencx/ChatGPT.git synced 2024-10-01 01:06:13 -04:00

Merge pull request #420 from vangie/patch-2

This commit is contained in:
lencx 2023-02-17 16:10:58 +08:00 committed by GitHub
commit 618f3483d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -423,13 +423,13 @@ pub fn tray_menu() -> SystemTray {
"hide_dock_icon".to_string(),
"Hide Dock Icon",
))
.add_item(CustomMenuItem::new("show_core".to_string(), "Show ChatGPT"));
.add_item(CustomMenuItem::new("show_core".to_string(), "Show Window"));
}
SystemTray::new().with_menu(
tray_menu
.add_native_item(SystemTrayMenuItem::Separator)
.add_item(CustomMenuItem::new("quit".to_string(), "Quit ChatGPT")),
.add_item(CustomMenuItem::new("quit".to_string(), "Quit")),
)
} else {
SystemTray::new().with_menu(
@ -438,9 +438,9 @@ pub fn tray_menu() -> SystemTray {
"control_center".to_string(),
"Control Center",
))
.add_item(CustomMenuItem::new("show_core".to_string(), "Show ChatGPT"))
.add_item(CustomMenuItem::new("show_core".to_string(), "Show Window"))
.add_native_item(SystemTrayMenuItem::Separator)
.add_item(CustomMenuItem::new("quit".to_string(), "Quit ChatGPT")),
.add_item(CustomMenuItem::new("quit".to_string(), "Quit")),
)
}
}