Skip to content

Draw the Sweet Tooth, Whoopsie and git blame badges with their own icons, as the web does - #235

Open
sulimanbenhalim wants to merge 1 commit into
NativePHP:mainfrom
sulimanbenhalim:fix/draw-new-badge-icons
Open

sulimanbenhalim wants to merge 1 commit into
NativePHP:mainfrom
sulimanbenhalim:fix/draw-new-badge-icons

Conversation

@sulimanbenhalim

Copy link
Copy Markdown
Contributor

devnull changed 3 badge icons after #129 went in and the app draws all 3 as the terminal again
sweet tooth is pastel-de-nata now instead of cookie and whoopsie (mushroom-cloud) and git blame (git-commit-horizontal) are new in Achievement::icon()

  • git-commit-horizontal is Lucide's own drawing like the rest
  • Lucide has no mushroom cloud so mushroom-cloud.svg is the web's MushroomCloudIcon the same way dragon-ball.svg is its DragonBallIcon
  • the web draws sweet tooth as the pastel de nata picture and not as an icon (PastelDeNataIcon) so the shelf and the sheet draw Pasteis::Image for it like the commit row and the profile header already do
  • nothing sends cookie anymore so its case and cookie.svg go
  • CustomIconsTest runs the 2 new SVGs through the build's conversion for both platforms and the new AchievementsSheetTest cases fail on main

Screenshots

the achievements sheet scrolled to its end on an Android emulator against a local devnull

achievements

iOS light iOS dark Android light Android dark
Before
After

iOS isn't here since this Xcode has no Simulator app to tap through to the sheet with

  • No visible change

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.

1 participant