Skip to content

tauri_plugin_dialog: When setting the button to Chinese, it crashes. #2473

Open
@qiuxchao

Description

@qiuxchao

Repeat the code:

app
    .dialog()
    .message("信息")
    .title("提示")
    .kind(MessageDialogKind::Warning)
    .buttons(MessageDialogButtons::OkCancelCustom(
        String::from("确定"),
        String::from("取消"),
    ))
    .blocking_show();

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions