Fixed naming convention of kind for type.

This commit is contained in:
Brian Carlsen 2022-11-13 22:22:47 +01:00
parent 104704cb88
commit c524eea01d

View file

@ -44,6 +44,7 @@ pub struct MessageDialogOptions {
pub title: Option<String>,
/// The type of the dialog. Defaults to MessageDialogType::Info.
#[serde(rename(serialize = "type"))]
pub kind: MessageDialogType,
}