ACINQ / phoenix

Phoenix is a self-custodial Bitcoin wallet using Lightning to send/receive payments.
https://phoenix.acinq.co
Apache License 2.0
619 stars 93 forks source link

Use AppleSymbol instead of SVG #512

Closed robbiehanson closed 5 months ago

robbiehanson commented 5 months ago

I converted the SVG icon into an AppleSymbol, which now matches the other standard iOS icons in size and thickness.

We only do this on iOS 17+, since it doesn't work properly on earlier iOS versions.

robbiehanson commented 5 months ago

If I understand correctly, you'll have to maintain 2 files for each icon?

It's really just one image. When you drag that image into Xcode, and add it to an Assets Library, then Xcode automatically creates the JSON file for it's own internal bookkeeping.