Files
signed/crates/workspace/src/views/sidebar/import_dialog.rs
T

10 lines
270 B
Rust

use gpui::{App, Window, px};
use gpui_component::WindowExt;
/// Open the Import Identity dialog.
pub fn open(window: &mut Window, cx: &mut App) {
window.open_dialog(cx, move |dialog, _window, _cx| {
dialog.title("Import identity").width(px(400.))
});
}