refactor: removed redundant cfg(dev) flags (#444)

This commit is contained in:
ayangweb
2025-06-05 19:32:27 +08:00
committed by GitHub
parent 22c2d479b6
commit 64e043fb11

View File

@@ -23,7 +23,7 @@ pub fn default(
main_window: WebviewWindow,
preference_window: WebviewWindow,
) {
#[cfg(any(dev, debug_assertions))]
#[cfg(debug_assertions)]
main_window.open_devtools();
platform(app_handle, main_window.clone(), preference_window.clone());