gpui: Update Menu name to use SharedString
type to support more types (#14791)
Release Notes: - N/A
This commit is contained in:
parent
836f623800
commit
fb541accb2
7 changed files with 40 additions and 38 deletions
|
@ -1,10 +1,10 @@
|
|||
use gpui::{Menu, MenuItem};
|
||||
|
||||
pub fn app_menus() -> Vec<Menu<'static>> {
|
||||
pub fn app_menus() -> Vec<Menu> {
|
||||
use crate::actions::Quit;
|
||||
|
||||
vec![Menu {
|
||||
name: "Storybook",
|
||||
name: "Storybook".into(),
|
||||
items: vec![MenuItem::action("Quit", Quit)],
|
||||
}]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue