Skip to content

Commit

Permalink
Added missing icons to items list and detail
Browse files Browse the repository at this point in the history
  • Loading branch information
michalrentka committed Oct 4, 2024
1 parent b3e747d commit b29eb63
Show file tree
Hide file tree
Showing 81 changed files with 159 additions and 305 deletions.
2 changes: 1 addition & 1 deletion ZShare/View Controllers/ShareViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ final class ShareViewController: UIViewController {

private func setItem(title: String, type: String) {
self.itemTitleLabel.text = title
self.itemIcon.image = UIImage(named: ItemTypes.iconName(for: type, contentType: nil))
self.itemIcon.image = UIImage(named: ItemTypes.iconName(for: type))
}

private func setAttachment(title: String, file: File, state: ExtensionViewModel.State.AttachmentState) {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.

This file was deleted.

Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"images" : [
{
"filename" : "attachment-detail-pdf.png",
"filename" : "list-epub.png",
"idiom" : "universal",
"scale" : "1x"
},
Expand All @@ -12,12 +12,12 @@
"value" : "dark"
}
],
"filename" : "pdf-1.png",
"filename" : "list-epub-1.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "attachment-detail-pdf@2x.png",
"filename" : "list-epub@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
Expand All @@ -28,12 +28,12 @@
"value" : "dark"
}
],
"filename" : "pdf@2x-1.png",
"filename" : "list-epub@2x-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "attachment-detail-pdf@3x.png",
"filename" : "list-epub@3x.png",
"idiom" : "universal",
"scale" : "3x"
},
Expand All @@ -44,7 +44,7 @@
"value" : "dark"
}
],
"filename" : "pdf@3x-1.png",
"filename" : "list-epub@3x-1.png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"images" : [
{
"filename" : "28_light_dataset.png",
"idiom" : "universal",
"scale" : "1x"
"filename" : "dataset.svg",
"idiom" : "universal"
},
{
"appearances" : [
Expand All @@ -12,39 +11,8 @@
"value" : "dark"
}
],
"filename" : "28_dark_dataset.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "[email protected]",
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"idiom" : "universal",
"scale" : "3x"
"filename" : "dark_dataset.svg",
"idiom" : "universal"
}
],
"info" : {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"images" : [
{
"filename" : "attachment-detail-document.png",
"filename" : "epub-linked.png",
"idiom" : "universal",
"scale" : "1x"
},
Expand All @@ -12,12 +12,12 @@
"value" : "dark"
}
],
"filename" : "document-1.png",
"filename" : "epub-linked-1.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "attachment-detail-document@2x.png",
"filename" : "epub-linked@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
Expand All @@ -28,12 +28,12 @@
"value" : "dark"
}
],
"filename" : "document@2x-1.png",
"filename" : "epub-linked@2x-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "attachment-detail-document@3x.png",
"filename" : "epub-linked@3x.png",
"idiom" : "universal",
"scale" : "3x"
},
Expand All @@ -44,7 +44,7 @@
"value" : "dark"
}
],
"filename" : "document@3x-1.png",
"filename" : "epub-linked@3x-1.png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"images" : [
{
"filename" : "attachment-detail-linked-pdf.png",
"filename" : "epub.png",
"idiom" : "universal",
"scale" : "1x"
},
Expand All @@ -12,12 +12,12 @@
"value" : "dark"
}
],
"filename" : "pdf-linked-1.png",
"filename" : "epub-1.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "attachment-detail-linked-pdf@2x.png",
"filename" : "epub@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
Expand All @@ -28,12 +28,12 @@
"value" : "dark"
}
],
"filename" : "pdf-linked@2x-1.png",
"filename" : "epub@2x-1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "attachment-detail-linked-pdf@3x.png",
"filename" : "epub@3x.png",
"idiom" : "universal",
"scale" : "3x"
},
Expand All @@ -44,7 +44,7 @@
"value" : "dark"
}
],
"filename" : "pdf-linked@3x-1.png",
"filename" : "epub@3x-1.png",
"idiom" : "universal",
"scale" : "3x"
}
Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Loading

0 comments on commit b29eb63

Please sign in to comment.