Repository navigation
fix(appbar): back icon respects settings icon - #5325
Open
alpharius-ck wants to merge 7 commits into
Open
alpharius-ck wants to merge 7 commits into
alpharius-ck wants to merge 7 commits into
Conversation
Keep the bundled chevron only while the default renderer is in place, so an icon renderer passed through PaperProvider settings is also used for the back icon on iOS.
With settings={{ icon: undefined }} iOS kept the bundled chevron while Android and web rendered nothing. Only the default renderer keeps the chevron now, so every platform behaves like any other Icon without a renderer.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 2 new findings on b33e344. The verdict and the full list are in the summary comment.
This comment has been minimized.
This comment has been minimized.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Apex Sentinel · ✅ Approve · review of
|
| Where | Finding |
|---|---|
src/components/Appbar/AppbarBackIcon.tsx:27 |
iOS back icon renders blank when settings.icon is explicitly undefined |
1 finding below minor hidden (user_settings.min_severity).
Reviewed with this repository's own Sentinel configuration (63a3d5acf854).
💬 Talking to Sentinel
In a finding's thread, reply with:
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Appbar.BackActionignored thesettings.iconrenderer fromPaperProvider. It now uses it on all platforms; iOS keeps its chevron only with the default renderer. Docs updated. Fix by @giaBaoJS, rebased ontomain.Related issue
None.
Screenshots / Videos
iOS, web, Android:
Test plan
example/src/index.tsx, set asettings.iconthat draws another icon forarrow-left.main.