mirror of
https://github.com/italicsjenga/muda.git
synced 2024-12-23 12:01:31 +11:00
fix: fix examples
This commit is contained in:
parent
7ca4b11564
commit
dc8e9d41fd
|
@ -143,7 +143,7 @@ fn main() {
|
|||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
menu_bar.init_for_nsapp();
|
||||
window_m.set_windows_menu_for_nsapp();
|
||||
window_m.set_as_windows_menu_for_nsapp();
|
||||
}
|
||||
|
||||
let menu_channel = MenuEvent::receiver();
|
||||
|
|
|
@ -133,7 +133,7 @@ fn main() {
|
|||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
menu_bar.init_for_nsapp();
|
||||
window_m.set_windows_menu_for_nsapp();
|
||||
window_m.set_as_windows_menu_for_nsapp();
|
||||
}
|
||||
|
||||
let menu_channel = MenuEvent::receiver();
|
||||
|
|
|
@ -133,7 +133,7 @@ fn main() {
|
|||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
menu_bar.init_for_nsapp();
|
||||
window_m.set_windows_menu_for_nsapp();
|
||||
window_m.set_as_windows_menu_for_nsapp();
|
||||
}
|
||||
|
||||
let menu_channel = MenuEvent::receiver();
|
||||
|
|
|
@ -146,7 +146,7 @@ fn main() -> wry::Result<()> {
|
|||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
menu_bar.init_for_nsapp();
|
||||
window_m.set_windows_menu_for_nsapp();
|
||||
window_m.set_as_windows_menu_for_nsapp();
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
|
|
Loading…
Reference in a new issue