Skip to content

Commit

Permalink
Add six new issuer icons
Browse files Browse the repository at this point in the history
* Adobe ID
* Backblaze
* Coinbase
* Kickstarter
* Name.com
* Privacy
  • Loading branch information
danbee committed Feb 7, 2018
1 parent 672f8e3 commit a00fad5
Show file tree
Hide file tree
Showing 26 changed files with 144 additions and 0 deletions.
Binary file modified IssuerIcons.sketch
Binary file not shown.
6 changes: 6 additions & 0 deletions Tofu/AccountCell.swift
Expand Up @@ -21,9 +21,12 @@ private func placeholderImageWithText(_ text: String) -> UIImage {

private func imageForAccount(_ account: Account) -> UIImage {
switch account.issuer {
case .some("Adobe ID"): return UIImage(named: "Adobe")!
case .some("Amazon"): return UIImage(named: "Amazon")!
case .some("AWS"): return UIImage(named: "AWS")!
case .some("Backblaze"): return UIImage(named: "Backblaze")!
case .some("Bitbucket"): return UIImage(named: "Bitbucket")!
case .some("Coinbase"): return UIImage(named: "Coinbase")!
case .some("DigitalOcean"): return UIImage(named: "DigitalOcean")!
case .some("DNSimple"): return UIImage(named: "DNSimple")!
case .some("Dropbox"): return UIImage(named: "Dropbox")!
Expand All @@ -37,9 +40,12 @@ private func imageForAccount(_ account: Account) -> UIImage {
case .some("Hover"): return UIImage(named: "Hover")!
case .some("IFTTT"): return UIImage(named: "IFTTT")!
case .some("Intercom"): return UIImage(named: "Intercom")!
case .some("Kickstarter"): return UIImage(named: "Kickstarter")!
case .some("LinodeManager"): return UIImage(named: "Linode")!
case .some("LocalBitcoins"): return UIImage(named: "LocalBitcoins")!
case .some("Microsoft"): return UIImage(named: "Microsoft")!
case .some("Name.com"): return UIImage(named: "Name.com")!
case .some("Privacy.com"): return UIImage(named: "Privacy")!
case .some("Slack"): return UIImage(named: "Slack")!
case .some("Stripe"): return UIImage(named: "Stripe")!
case .some("Tumblr"): return UIImage(named: "Tumblr")!
Expand Down
Binary file added Tofu/Assets.xcassets/Adobe.imageset/Adobe.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Tofu/Assets.xcassets/Adobe.imageset/Adobe@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Tofu/Assets.xcassets/Adobe.imageset/Adobe@3x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions Tofu/Assets.xcassets/Adobe.imageset/Contents.json
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Adobe.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "Adobe@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "Adobe@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions Tofu/Assets.xcassets/Backblaze.imageset/Contents.json
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Backblaze.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "Backblaze@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "Backblaze@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions Tofu/Assets.xcassets/Coinbase.imageset/Contents.json
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Coinbase.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "Coinbase@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "Coinbase@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
23 changes: 23 additions & 0 deletions Tofu/Assets.xcassets/Kickstarter.imageset/Contents.json
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Kickstarter.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "Kickstarter@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "Kickstarter@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions Tofu/Assets.xcassets/Name.com.imageset/Contents.json
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Name.com.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "Name.com@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "Name.com@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions Tofu/Assets.xcassets/Privacy.imageset/Contents.json
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Privacy.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "Privacy@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "Privacy@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Binary file added Tofu/Assets.xcassets/Privacy.imageset/Privacy.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a00fad5

Please sign in to comment.