mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-29 05:51:59 +03:00
fix(examples): use new MessageDialogButtons variant name
This commit is contained in:
parent
077605f58b
commit
864dfe4de5
@ -171,7 +171,7 @@ fn create_tray(app: &tauri::App) -> tauri::Result<()> {
|
||||
let window = handle.get_window("main").unwrap();
|
||||
MessageDialogBuilder::new("About app", "Tauri demo app")
|
||||
.parent(&window)
|
||||
.buttons(MessageDialogButtons::OkCancelCustom(
|
||||
.buttons(MessageDialogButtons::OkCancelWithLabels(
|
||||
"Homepage".into(),
|
||||
"know it".into(),
|
||||
))
|
||||
|
Loading…
Reference in New Issue
Block a user