Update button style logic in Confirming page based on selection state

- Modified the button style in the Confirming page to dynamically switch between "Primary" and "Neutral" based on whether all items are selected, enhancing visual feedback for users.

This change aims to improve user experience by providing clearer indications of the current selection state.
This commit is contained in:
Joe 2026-03-01 07:00:46 -06:00
parent cd87c63a89
commit b8bd92d665
2 changed files with 1 additions and 4 deletions

View file

@ -366,7 +366,7 @@ function ConfirmingPage:render()
Accept = e(TextButton, {
text = if hasChanges then "Accept" else "OK",
style = "Primary",
style = if allSelected then "Primary" else "Neutral",
transparency = self.props.transparency,
layoutOrder = 2,
onClick = function()