Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Merge branch 'main' into fix/gpui-delete-refresh

Richie McIlroyb8b20039ed7d
diff --cc apps/desktop-gpui/src/main_window.rs
index 49e146031,3d5d914ad..61117225d
--- a/apps/desktop-gpui/src/main_window.rs
+++ b/apps/desktop-gpui/src/main_window.rs
@@@ -4949,12 -5051,12 +5051,12 @@@ impl MainWindow
window: &mut Window,
cx: &mut Context<Self>,
) {
- cx.spawn_in(window, async move |this, cx| {
+ cx.spawn_in(window, async move |_, cx| {
if !crate::platform::confirm_dialog(
"Cap",
- "Are you sure you want to delete this recording?",
- "Yes",
- "No",
+ tr::main::delete_recording_confirm(),
+ tr::common::yes(),
+ tr::common::no(),
false,
) {
return;