fix(examples): use new MessageDialogButtons variant name

This commit is contained in:
Lucas Nogueira 2022-12-30 20:15:45 -03:00
parent 077605f58b
commit 864dfe4de5
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1

View File

@ -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(),
))