Use correct icon for "Add Caption" vs. "Has Caption"

This commit is contained in:
Michael Kirk 2019-04-24 17:28:57 -07:00
parent d707a123a7
commit 1c5233aaa3
9 changed files with 29 additions and 6 deletions

View File

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

View File

@ -2,17 +2,17 @@
"images" : [
{
"idiom" : "universal",
"filename" : "add-caption-28@1x.png",
"filename" : "caption-24@1x.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "add-caption-28@2x.png",
"filename" : "caption-24@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "add-caption-28@3x.png",
"filename" : "caption-24@3x.png",
"scale" : "3x"
}
],

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

View File

@ -278,9 +278,9 @@ public class AttachmentApprovalViewController: UIPageViewController, UIPageViewC
shouldShowCaptionUI = true
}
if shouldShowCaptionUI {
let captionButton = navigationBarButton(imageName: "image_editor_caption",
selector: #selector(didTapCaption(sender:)))
navigationBarItems.append(captionButton)
let addCaptionButton = navigationBarButton(imageName: "image_editor_add_caption",
selector: #selector(didTapCaption(sender:)))
navigationBarItems.append(addCaptionButton)
}
}