* update deps * clean up * add account crate * add person crate * add chat and chat ui crates * . * clean up the ui crate * . * .
13 lines
334 B
Rust
13 lines
334 B
Rust
use gpui::{actions, Action};
|
|
use serde::Deserialize;
|
|
|
|
/// Define a custom confirm action
|
|
#[derive(Clone, Action, PartialEq, Eq, Deserialize)]
|
|
#[action(namespace = list, no_json)]
|
|
pub struct Confirm {
|
|
/// Is confirm with secondary.
|
|
pub secondary: bool,
|
|
}
|
|
|
|
actions!(ui, [Cancel, SelectUp, SelectDown, SelectLeft, SelectRight]);
|