feat: add setup inbox relays modal

This commit is contained in:
reya
2025-02-07 16:11:04 +07:00
parent cb8a348945
commit 0daebe5762
11 changed files with 453 additions and 152 deletions
+9 -3
View File
@@ -1,11 +1,17 @@
use gpui::{div, svg, Context, IntoElement, ParentElement, Render, Styled, Window};
use gpui::{
div, svg, App, AppContext, Context, Entity, IntoElement, ParentElement, Render, Styled, Window,
};
use ui::theme::{scale::ColorScaleStep, ActiveTheme};
pub fn init(window: &mut Window, cx: &mut App) -> Entity<Startup> {
Startup::new(window, cx)
}
pub struct Startup {}
impl Startup {
pub fn new(_window: &mut Window, _cx: &mut Context<'_, Self>) -> Self {
Self {}
pub fn new(_window: &mut Window, cx: &mut App) -> Entity<Self> {
cx.new(|_| Self {})
}
}