File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
compose/material/material/src/desktopMain/kotlin/androidx/compose/material Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ import androidx.compose.ui.window.rememberDialogState
44
44
* space is available. There is also another version of this composable that has a slot for buttons
45
45
* to provide custom buttons layout.
46
46
*
47
- * @param onDismissRequest Executes when the user tries to dismiss the Dialog by clicking outside
48
- * or pressing the back button. This is not called when the dismiss button is clicked.
47
+ * @param onDismissRequest Executes when the user tries to dismiss the Dialog by Esc button.
48
+ * This is not called when the dismiss button is clicked.
49
49
* @param confirmButton A button which is meant to confirm a proposed action, thus resolving
50
50
* what triggered the dialog. The dialog does not set up any events for this button so they need
51
51
* to be set up by the caller.
@@ -109,8 +109,8 @@ fun AlertDialogWindow(
109
109
*
110
110
* This function can be used to fully customize the button area, e.g. with:
111
111
*
112
- * @param onDismissRequest Executes when the user tries to dismiss the Dialog by clicking outside
113
- * or pressing the back button. This is not called when the dismiss button is clicked.
112
+ * @param onDismissRequest Executes when the user tries to dismiss the Dialog by Esc button.
113
+ * This is not called when the dismiss button is clicked.
114
114
* @param buttons Function that emits the layout with the buttons.
115
115
* @param modifier Modifier to be applied to the layout of the dialog.
116
116
* @param title The title of the Dialog which should specify the purpose of the Dialog. The title
You can’t perform that action at this time.
0 commit comments