Use vectors instead of PNGs

pull/68/head
Niels Andriesse 5 years ago
parent c87ed345e4
commit 8999462776

@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "AddPerson.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Check.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "CircleCheck.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "CircleDotDotDot.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "CirclePlus.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 589 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

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

@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "FilledCircleCheck.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Gear.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

@ -2,17 +2,7 @@
"images" : [
{
"idiom" : "universal",
"filename" : "Globe@1x.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "Globe@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
"filename" : "Globe.pdf"
}
],
"info" : {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "MagnifyingGlass.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Microphone.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "People.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "QRCodeFilled.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "StarOutline.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 464 B

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 571 B

@ -0,0 +1,12 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "X.pdf"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

Binary file not shown.

@ -142,9 +142,9 @@ final class ConversationCell : UITableViewCell {
let image: UIImage
let status = MessageRecipientStatusUtils.recipientStatus(outgoingMessage: lastMessage)
switch status {
case .calculatingPoW, .uploading, .sending: image = #imageLiteral(resourceName: "Cog")
case .sent, .skipped, .delivered: image = #imageLiteral(resourceName: "TickOutline")
case .read: image = #imageLiteral(resourceName: "TickFilled")
case .calculatingPoW, .uploading, .sending: image = #imageLiteral(resourceName: "CircleDotDotDot")
case .sent, .skipped, .delivered: image = #imageLiteral(resourceName: "CircleCheck")
case .read: image = #imageLiteral(resourceName: "FilledCircleCheck")
case .failed: image = #imageLiteral(resourceName: "message_status_failed")
}
statusIndicatorView.image = image

@ -192,7 +192,7 @@ final class HomeVC : UIViewController, UITableViewDataSource, UITableViewDelegat
profilePictureView.set(.height, to: profilePictureSize)
profilePictureView.onTap = { [weak self] in self?.openSettings() }
navigationItem.leftBarButtonItem = UIBarButtonItem(customView: profilePictureView)
let createPrivateGroupChatButton = UIBarButtonItem(image: #imageLiteral(resourceName: "Contacts"), style: .plain, target: self, action: #selector(createPrivateGroupChat))
let createPrivateGroupChatButton = UIBarButtonItem(image: #imageLiteral(resourceName: "People"), style: .plain, target: self, action: #selector(createPrivateGroupChat))
createPrivateGroupChatButton.tintColor = Colors.text
let joinPublicChatButton = UIBarButtonItem(image: #imageLiteral(resourceName: "Globe"), style: .plain, target: self, action: #selector(joinPublicChat))
joinPublicChatButton.tintColor = Colors.text

Loading…
Cancel
Save