Skip to content

Commit

Permalink
fix on customSelected
Browse files Browse the repository at this point in the history
  • Loading branch information
rhjdvsgsgks authored Jan 26, 2025
1 parent bbbf43a commit cf778ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ private fun ModelDialog(
onDismissRequest = onDismissRequest,
confirmButton = {
TextButton(
enabled = !customSelected && model.isNotBlank(),
enabled = customSelected || model.isNotBlank(),
onClick = {
if (customSelected) {
onConfirmRequest(customModel)
Expand Down

0 comments on commit cf778ed

Please sign in to comment.