forked from zulip/zulip-flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logo: Fix App Store icon to avoid transparency
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
Binary file modified
BIN
-2.87 KB
(92%)
ios/Runner/Assets.xcassets/AppIcon.appiconset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,6 +103,14 @@ make_ios_app_icon() { | |
make_one_ios_app_icon 76 2 ipad | ||
make_one_ios_app_icon 1024 1 ios-marketing | ||
|
||
# For the App Store logo, it's required to not have transparency. | ||
# We already don't have any intentional transparency, so just | ||
# cut out the alpha channel. | ||
mv "${iconset}"/Icon-1024x1024@1x{,.1}.png | ||
convert "${iconset}"/[email protected] \ | ||
-alpha deactivate "${iconset}"/[email protected] | ||
rm -f "${iconset}"/[email protected] | ||
|
||
# From "Spotlight, Settings, and Notification Icons" | ||
# in the same iOS doc | ||
make_one_ios_app_icon 40 3 iphone | ||
|