Skip to content

Add chevron to clickable WarningItem on Android#216

Merged
DRadmir merged 1 commit intomainfrom
android/warning-item-chevron
Apr 24, 2026
Merged

Add chevron to clickable WarningItem on Android#216
DRadmir merged 1 commit intomainfrom
android/warning-item-chevron

Conversation

@DRadmir
Copy link
Copy Markdown
Contributor

@DRadmir DRadmir commented Apr 24, 2026

Summary

  • Show a trailing chevron on WarningItem when it has an onClick, making the tap affordance explicit on confirm-screen errors (e.g. Bitcoin dust error).
  • Chevron is vertically centered relative to the title + message column so it stays aligned whether the warning is one or two lines.
  • Non-clickable callers (SimulationWarningsContent) are unaffected — the chevron only renders when onClick != null.

Test plan

  • ./gradlew :ui:compileDebugKotlin
  • ./gradlew :features:confirm:presents:compileDebugKotlin
  • Visual check on confirm screen dust error
Screenshot_20260424_143516

@DRadmir DRadmir self-assigned this Apr 24, 2026
@DRadmir DRadmir merged commit daf1da3 into main Apr 24, 2026
4 of 5 checks passed
@DRadmir DRadmir deleted the android/warning-item-chevron branch April 24, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants