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.

Use `ui::prelude::*` in a few more spots (#14807)

Marshall Bowerse3d5eff8588d
diff --git a/crates/collab_ui/src/collab_panel/contact_finder.rs b/crates/collab_ui/src/collab_panel/contact_finder.rs
index ff58c833f13..27cfb2c01e1 100644
--- a/crates/collab_ui/src/collab_panel/contact_finder.rs
+++ b/crates/collab_ui/src/collab_panel/contact_finder.rs
@@ -5,7 +5,6 @@ use gpui::{
};
use picker::{Picker, PickerDelegate};
use std::sync::Arc;
-use theme::ActiveTheme as _;
use ui::{prelude::*, Avatar, ListItem, ListItemSpacing};
use util::{ResultExt as _, TryFutureExt};
use workspace::ModalView;
diff --git a/crates/workspace/src/modal_layer.rs b/crates/workspace/src/modal_layer.rs
index 1c8071da198..59a9c4cd8d1 100644
--- a/crates/workspace/src/modal_layer.rs
+++ b/crates/workspace/src/modal_layer.rs
@@ -1,9 +1,5 @@
-use gpui::{
- div, prelude::*, px, AnyView, DismissEvent, FocusHandle, ManagedView, Render, Subscription,
- View, ViewContext, WindowContext,
-};
-use theme::ActiveTheme as _;
-use ui::{h_flex, v_flex};
+use gpui::{AnyView, DismissEvent, FocusHandle, ManagedView, Subscription, View};
+use ui::prelude::*;
pub enum DismissDecision {
Dismiss(bool),