Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: add parentheses around struct literal in expression position

Louis Beaumont5e94fae80116
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/commands.rs b/apps/screenpipe-app-tauri/src-tauri/src/commands.rs
index 6d6252b6c..2af00948c 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/commands.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/commands.rs
@@ -33,7 +33,7 @@ extern "C" fn native_notif_action_callback(json_ptr: *const std::os::raw::c_char
// Show the home window (needs main thread on macOS)
let app_for_show = app_clone.clone();
let _ = app_clone.run_on_main_thread(move || {
- if let Err(e) = ShowRewindWindow::Home { page: None }.show(&app_for_show) {
+ if let Err(e) = (ShowRewindWindow::Home { page: None }).show(&app_for_show) {
error!("failed to show home window for manage: {}", e);
}
});