Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Show git toasts for 10s (#26714)

Conrad Irwin798a34bfc269
diff --git a/crates/workspace/src/toast_layer.rs b/crates/workspace/src/toast_layer.rs
index 7de61b94893..d9cd8ecf73c 100644
--- a/crates/workspace/src/toast_layer.rs
+++ b/crates/workspace/src/toast_layer.rs
@@ -8,7 +8,7 @@ use ui::{animation::DefaultAnimations, prelude::*};
use crate::Workspace;
-const DEFAULT_TOAST_DURATION: Duration = Duration::from_millis(2400);
+const DEFAULT_TOAST_DURATION: Duration = Duration::from_secs(10);
const MINIMUM_RESUME_DURATION: Duration = Duration::from_millis(800);
actions!(toast, [RunAction]);