brave / brave-ios

Brave iOS Browser
https://brave.com
Mozilla Public License 2.0
1.7k stars 441 forks source link

No Bug: Fix for console warning about `leo.nft` symbol size #8537

Closed StephenHeaps closed 9 months ago

StephenHeaps commented 9 months ago

Summary of Changes

Opening NFT tab can log a few console warnings about leo.nft symbol, for example:

[SwiftUI] No image named 'leo.nft' found in asset catalog for /Users/stephenheaps/Library/Developer/CoreSimulator/Devices/B85864FA-AD05-49A0-A247-146C5D39394F/data/Containers/Bundle/Application/DC7A00C9-BB00-40BB-BB16-7FD7459F9A25/Client.app/Brave_DesignSystem.bundle
[framework] CoreUI: -[CUICatalog namedVectorGlyphWithName:scaleFactor:deviceIdiom:layoutDirection:glyphSize:glyphWeight:glyphPointSize:appearanceName:] 'leo.nft' called with scaleFactor == 2.000000 glyphPointSize == 0.000000 at '/Users/stephenheaps/Library/Developer/CoreSimulator/Devices/B85864FA-AD05-49A

This pull request fixes #

Submitter Checklist:

Test Plan:

  1. Open NFT tab on any device with debugger attached, filter by leo.nft.
  2. Verify no more logs/warnings about leo.nft symbol

Screenshots:

Reviewer Checklist: