We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1936683 commit 4eb22d8Copy full SHA for 4eb22d8
1 file changed
standalone/src-tauri/src/lib.rs
@@ -50,11 +50,11 @@ pub fn run() {
50
dev_api::get_dev_api_status,
51
dev_api::set_dev_api_enabled
52
])
53
- .on_menu_event(|app, event| {
+ .on_menu_event(|_app, _event| {
54
// DevTools is only available in debug builds
55
#[cfg(debug_assertions)]
56
- if event.id() == DEVTOOLS_MENU_ID {
57
- if let Some(window) = app.get_webview_window("main") {
+ if _event.id() == DEVTOOLS_MENU_ID {
+ if let Some(window) = _app.get_webview_window("main") {
58
window.open_devtools();
59
}
60
0 commit comments