Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

test: hold the simulated update at available

Ilya4ae643700455
diff --git a/apps/desktop-gpui/src/updates.rs b/apps/desktop-gpui/src/updates.rs
index 984966fe3..3c94078ed 100644
--- a/apps/desktop-gpui/src/updates.rs
+++ b/apps/desktop-gpui/src/updates.rs
@@ -292,7 +292,7 @@ fn simulate_update(version: Version, cx: &mut App) {
cx,
);
cx.spawn(async move |cx| {
- cx.background_executor().timer(Duration::from_secs(1)).await;
+ cx.background_executor().timer(Duration::from_secs(3)).await;
cx.update(|cx| {
tracing::info!(%version, "CAP_GPUI_UPDATE_SIMULATION_VERSION: downloading");
set_status(