(app: AppHandle)
| 5 | |
| 6 | #[tauri::command] |
| 7 | pub fn show_window(app: AppHandle) -> Result<(), String> { |
| 8 | internal_show_window(&app).map_err(|e| e.to_string()) |
| 9 | } |
| 10 | |
| 11 | pub fn internal_show_window(app: &AppHandle) -> Result<(), Box<dyn std::error::Error>> { |
| 12 | if let Some(window) = app.get_webview_window("main") { |
nothing calls this directly
no test coverage detected