From 5b52755c877363873117a54a732ac4fb980e8e2b Mon Sep 17 00:00:00 2001 From: finnwilken <151023426+finnwilken@users.noreply.github.com> Date: Thu, 16 Nov 2023 11:29:43 +0100 Subject: [PATCH] Replace AlertType with DialogType in code examples for dialog --- bgw-docs/src/main/jekyll/dialogs/dialog/dialog.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bgw-docs/src/main/jekyll/dialogs/dialog/dialog.md b/bgw-docs/src/main/jekyll/dialogs/dialog/dialog.md index 642fc40ecd..7e4bc027d9 100644 --- a/bgw-docs/src/main/jekyll/dialogs/dialog/dialog.md +++ b/bgw-docs/src/main/jekyll/dialogs/dialog/dialog.md @@ -53,7 +53,7 @@ The following code example creates a warning dialog informing the user about an ````kotlin Dialog( - alertType = AlertType.WARNING, + dialogType = DialogType.WARNING, title = "Warning", header = "Empty player name", message = "Player name must not be empty!" @@ -91,7 +91,7 @@ without blocking further thread execution. This functions returns ``Unit``. ````kotlin val dialog: Dialog = Dialog( - alertType = AlertType.CONFIRMATION, + dialogType = DialogType.CONFIRMATION, title = "Confirmation required", header = "Confirmation", message = "Do you really want to proceed?"