Format the ui shell imports
- Splits the crate imports that the vendoring rewrites merged above the gpui block; the rest of the worktree was already rustfmt-clean.
This commit is contained in:
@@ -2,19 +2,19 @@
|
|||||||
//! client-side window frame, with the toast and alert overlays mounted at
|
//! client-side window frame, with the toast and alert overlays mounted at
|
||||||
//! the window root.
|
//! the window root.
|
||||||
|
|
||||||
use crate::components::alert::{Alerts, AlertsView};
|
|
||||||
use crate::components::grain::grain as grain_overlay;
|
|
||||||
use crate::components::toast::{Toasts, ToastsView};
|
|
||||||
use crate::theme::ActiveTheme as _;
|
|
||||||
use crate::utils::{StyledExt as _, v_flex};
|
|
||||||
use gpui::prelude::FluentBuilder as _;
|
use gpui::prelude::FluentBuilder as _;
|
||||||
use gpui::{
|
use gpui::{
|
||||||
AnyElement, App, ElementId, Entity, IntoElement, ParentElement as _, RenderOnce,
|
AnyElement, App, ElementId, Entity, IntoElement, ParentElement as _, RenderOnce,
|
||||||
StyleRefinement, Styled as _, Window, div,
|
StyleRefinement, Styled as _, Window, div,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
use crate::components::alert::{Alerts, AlertsView};
|
||||||
|
use crate::components::grain::grain as grain_overlay;
|
||||||
|
use crate::components::toast::{Toasts, ToastsView};
|
||||||
use crate::layout::titlebar::Titlebar;
|
use crate::layout::titlebar::Titlebar;
|
||||||
use crate::layout::window_frame::frame;
|
use crate::layout::window_frame::frame;
|
||||||
|
use crate::theme::ActiveTheme as _;
|
||||||
|
use crate::utils::{StyledExt as _, v_flex};
|
||||||
|
|
||||||
/// The application shell.
|
/// The application shell.
|
||||||
#[derive(IntoElement)]
|
#[derive(IntoElement)]
|
||||||
|
|||||||
Reference in New Issue
Block a user