Fix GPUI get_menus documentation (#12571)

Release Notes:

- N/A
This commit is contained in:
Matin Aniss 2024-06-02 21:06:14 +10:00 committed by GitHub
parent ab8d25e0a2
commit 66b73c2d60
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1168,7 +1168,7 @@ impl AppContext {
self.platform.set_menus(menus, &self.keymap.borrow());
}
/// Sets the menu bar for this application. This will replace any existing menu bar.
/// Gets the menu bar for this application.
pub fn get_menus(&self) -> Option<Vec<OwnedMenu>> {
self.platform.get_menus()
}