Browse Source

Add “does.not.exist” 1x1 transparent image

This is to silence runtime warnings about missing images for the workaround used to add a11y labels/hints to toolbar buttons.
pull/160/head
Angelo Stavrow 3 years ago
parent
commit
7d99c8afc4
No known key found for this signature in database GPG Key ID: 1A49C7064E060EEE
4 changed files with 23 additions and 0 deletions
  1. +23
    -0
      Shared/Assets.xcassets/does.not.exist.imageset/Contents.json
  2. BIN
      Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist.png
  3. BIN
      Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@2x.png
  4. BIN
      Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@3x.png

+ 23
- 0
Shared/Assets.xcassets/does.not.exist.imageset/Contents.json View File

@@ -0,0 +1,23 @@
{
"images" : [
{
"filename" : "does.not.exist.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "does.not.exist@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "does.not.exist@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

BIN
Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist.png View File

Before After
Width: 1  |  Height: 1  |  Size: 501 B

BIN
Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@2x.png View File

Before After
Width: 2  |  Height: 2  |  Size: 501 B

BIN
Shared/Assets.xcassets/does.not.exist.imageset/does.not.exist@3x.png View File

Before After
Width: 3  |  Height: 3  |  Size: 502 B

Loading…
Cancel
Save