chore: Rename longbridgeapp to longbridge. (#477)

This commit is contained in:
Jason Lee 2024-12-10 11:36:39 +08:00 committed by GitHub
parent 9288dc91c2
commit 782cea35fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 6 deletions

View file

@ -63,7 +63,7 @@ struct DockAreaTab {
impl StoryWorkspace { impl StoryWorkspace {
pub fn new(_app_state: Arc<AppState>, cx: &mut ViewContext<Self>) -> Self { pub fn new(_app_state: Arc<AppState>, cx: &mut ViewContext<Self>) -> Self {
// There will crash on Linux. // There will crash on Linux.
// https://github.com/longbridgeapp/gpui-component/issues/104 // https://github.com/longbridge/gpui-component/issues/104
#[cfg(not(target_os = "linux"))] #[cfg(not(target_os = "linux"))]
cx.observe_window_appearance(|_, cx| { cx.observe_window_appearance(|_, cx| {
Theme::sync_system_appearance(cx); Theme::sync_system_appearance(cx);
@ -474,9 +474,7 @@ impl Render for StoryWorkspace {
.small() .small()
.ghost() .ghost()
.on_click(|_, cx| { .on_click(|_, cx| {
cx.open_url( cx.open_url("https://github.com/longbridge/gpui-component")
"https://github.com/longbridgeapp/gpui-component",
)
}), }),
) )
.child( .child(

View file

@ -291,7 +291,7 @@ impl Render for PopupStory {
menu.link_with_icon( menu.link_with_icon(
"GitHub Repository", "GitHub Repository",
IconName::GitHub, IconName::GitHub,
"https://github.com/longbridgeapp/gpui-component", "https://github.com/longbridge/gpui-component",
) )
.separator() .separator()
.link("GPUI", "https://gpui.rs") .link("GPUI", "https://gpui.rs")

View file

@ -106,7 +106,7 @@ impl Render for TextStory {
.child(Link::new("link3").child(h_flex().gap_1().child(IconName::GitHub).child("GitHub")).on_click(cx.listener(|_, _, cx| { .child(Link::new("link3").child(h_flex().gap_1().child(IconName::GitHub).child("GitHub")).on_click(cx.listener(|_, _, cx| {
cx.open_url("https://google.com") cx.open_url("https://google.com")
}))) })))
.child(div().w(px(250.)).child(Link::new("link4").child("https://github.com/longbridgeapp/gpui-component").href("https://github.com/longbridgeapp/gpui-component"))) .child(div().w(px(250.)).child(Link::new("link4").child("https://github.com/longbridge/gpui-component").href("https://github.com/longbridge/gpui-component")))
) )
) )
.child( .child(