Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Merge branch 'feat/gpui-i18n-language-picker' into feat/gpui-i18n-main-surfaces
Richie McIlroy75308106e2dd
diff --cc apps/desktop-gpui/src/main_window.rsindex f063ef5b6,33a3ef94b..4d89e5211--- a/apps/desktop-gpui/src/main_window.rs+++ b/apps/desktop-gpui/src/main_window.rs@@@ -4871,16 -4787,14 +4871,17 @@@ impl MainWindowself.library_action(("lib-ss-copy", index), "icons/copy.svg", {let png = png.clone();move |_, _, cx| {- if let Err(error) = crate::platform::copy_image_to_clipboard(&png, cx) {- tracing::warn!("copying screenshot failed: {error}");- cx.spawn(async move |_| {+ let copied = crate::platform::copy_image_to_clipboard(png.clone(), cx);+ cx.spawn(async move |_| {+ if let Err(error) = copied.await {+ tracing::warn!("copying screenshot failed: {error}");- crate::platform::alert_dialog("Could not copy screenshot", &error);+ crate::platform::alert_dialog(+ tr::main::library::copy_screenshot_failed(),+ &error,+ );- })- .detach();- }+ }+ })+ .detach();}}),)