Checkpoint

This commit is contained in:
Antonio Scandurra 2023-10-19 23:47:32 +02:00
parent 21b4ae3fdc
commit 296fc92721
5 changed files with 8 additions and 10 deletions

View file

@ -1,8 +1,8 @@
use std::any::Any; use std::any::Any;
use gpui3::{ use gpui3::{
div, view, Action, Context, Focus, Interactive, KeyBinding, ParentElement, Styled, View, div, view, Action, Context, Focus, KeyBinding, ParentElement, StatelesslyInteractive, Styled,
WindowContext, View, WindowContext,
}; };
use crate::themes::rose_pine; use crate::themes::rose_pine;

View file

@ -1,12 +1,10 @@
use std::marker::PhantomData;
use gpui3::{img, svg, SharedString};
use crate::prelude::*; use crate::prelude::*;
use crate::{ use crate::{
static_collab_panel_channels, static_collab_panel_current_call, v_stack, Icon, List, static_collab_panel_channels, static_collab_panel_current_call, v_stack, Icon, List,
ListHeader, ToggleState, ListHeader, ToggleState,
}; };
use gpui3::{img, svg, SharedString};
use std::marker::PhantomData;
#[derive(Element)] #[derive(Element)]
pub struct CollabPanel<S: 'static + Send + Sync + Clone> { pub struct CollabPanel<S: 'static + Send + Sync + Clone> {

View file

@ -1,7 +1,7 @@
use std::marker::PhantomData; use std::marker::PhantomData;
use std::sync::Arc; use std::sync::Arc;
use gpui3::{MouseButton, StatelesslyInteractive}; use gpui3::MouseButton;
use crate::{h_stack, prelude::*}; use crate::{h_stack, prelude::*};
use crate::{ClickHandler, Icon, IconColor, IconElement}; use crate::{ClickHandler, Icon, IconColor, IconElement};

View file

@ -1,7 +1,7 @@
use std::marker::PhantomData; use std::marker::PhantomData;
use std::sync::Arc; use std::sync::Arc;
use gpui3::{DefiniteLength, Hsla, MouseButton, StatelesslyInteractive, WindowContext}; use gpui3::{DefiniteLength, Hsla, MouseButton, WindowContext};
use crate::settings::user_settings; use crate::settings::user_settings;
use crate::{h_stack, Icon, IconColor, IconElement, Label, LabelColor}; use crate::{h_stack, Icon, IconColor, IconElement, Label, LabelColor};

View file

@ -1,6 +1,6 @@
pub use gpui3::{ pub use gpui3::{
div, Element, Hover, IntoAnyElement, ParentElement, ScrollState, SharedString, div, Element, IntoAnyElement, ParentElement, ScrollState, SharedString, StatefullyInteractive,
StatefullyInteractive, Styled, ViewContext, WindowContext, StatelesslyInteractive, Styled, ViewContext, WindowContext,
}; };
use crate::settings::user_settings; use crate::settings::user_settings;