From 6793a275d10a83fb860738ae13ab89238fae0c07 Mon Sep 17 00:00:00 2001 From: "gcp-cherry-pick-bot[bot]" <98988430+gcp-cherry-pick-bot[bot]@users.noreply.github.com> Date: Thu, 13 Mar 2025 23:25:18 -0600 Subject: [PATCH] Show git toasts for 10s (cherry-pick #26714) (#26755) Cherry-picked Show git toasts for 10s (#26714) Release Notes: - N/A Co-authored-by: Conrad Irwin --- crates/workspace/src/toast_layer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/workspace/src/toast_layer.rs b/crates/workspace/src/toast_layer.rs index 7de61b948935fd3a2de9d866133e10bbfa706167..d9cd8ecf73cc39b518eecefd17456258abb6fd03 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]);