Skip to content

Show the XP once on the profile rank row - #144

Merged
simonhamp merged 1 commit into
NativePHP:mainfrom
cannonsh:profile-rank-row-no-duplicate-xp
Nov 2, 2026
Merged

simonhamp merged 1 commit into
NativePHP:mainfrom
cannonsh:profile-rank-row-no-duplicate-xp

Conversation

@cannonsh

Copy link
Copy Markdown
Contributor

The profile rank row showed the XP twice: in the header (Lv. 6 · root · 2686 XP) and again on the progress line right below it. On narrow screens that squeezed the rank to "ro…" and wrapped the unlocked count onto two lines.

The header now shows the rank and 9 / 15 unlocked, and the XP appears once, on the progress line. The VoiceOver label still includes the XP. The '120 XP' assertion in ProfileStandingTest only matched the removed header copy, so it is gone; '120 / 250 XP' still covers the XP.

Screenshots

profile

iOS light iOS dark Android light Android dark
Before
After

Android is missing: no emulator was available. These were taken on an iPhone 18 Pro, which is wide enough that the old row did not truncate; the truncation shows on narrower screens.

  • No visible change

The header repeated the XP that the progress line below it already shows, which squeezed the rank to "ro…" and wrapped the unlocked count on narrow screens.
@simonhamp
simonhamp merged commit 74151b2 into NativePHP:main Nov 2, 2026
2 checks passed
@simonhamp

Copy link
Copy Markdown
Member

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants