chore: bump gpui-pre to 0.3.8 and clean up unused code
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
use instant::Duration;
|
||||
|
||||
use gpui::prelude::FluentBuilder as _;
|
||||
use gpui::{
|
||||
div, ease_in_out, percentage, Animation, AnimationExt as _, App, Hsla, IntoElement,
|
||||
ParentElement, RenderOnce, Styled as _, Transformation, Window,
|
||||
Animation, AnimationExt as _, App, Hsla, IntoElement, ParentElement, RenderOnce, Styled as _,
|
||||
Transformation, Window, div, ease_in_out, percentage,
|
||||
};
|
||||
use instant::Duration;
|
||||
|
||||
use crate::{Icon, IconName, Sizable, Size};
|
||||
|
||||
@@ -26,11 +25,6 @@ impl Indicator {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn icon(mut self, icon: impl Into<Icon>) -> Self {
|
||||
self.icon = icon.into();
|
||||
self
|
||||
}
|
||||
|
||||
pub fn color(mut self, color: Hsla) -> Self {
|
||||
self.color = Some(color);
|
||||
self
|
||||
|
||||
Reference in New Issue
Block a user