From d2279674a7dd6e69a01a39a5530ed0859ea4c100 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Mon, 8 May 2023 08:54:06 -0700 Subject: [PATCH] Fix panic in tests --- crates/collab_ui/src/collab_titlebar_item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/collab_ui/src/collab_titlebar_item.rs b/crates/collab_ui/src/collab_titlebar_item.rs index a5c41a669f..71a62b68ee 100644 --- a/crates/collab_ui/src/collab_titlebar_item.rs +++ b/crates/collab_ui/src/collab_titlebar_item.rs @@ -107,7 +107,7 @@ impl View for CollabTitlebarItem { .with_child( Flex::row() .with_child(right_container.contained().with_background_color( - theme.workspace.titlebar.container.background_color.unwrap(), + theme.workspace.titlebar.container.background_color.unwrap_or_else(|| Color::transparent_black()), )) .aligned() .right(),