Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace AlertType with DialogType in code examples for dialog #393

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bgw-docs/src/main/jekyll/dialogs/dialog/dialog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
Expand Down Expand Up @@ -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?"
Expand Down