mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Update cancel button asset for link previews.
This commit is contained in:
parent
cad5ab387e
commit
1df8b92034
23
Signal/Images.xcassets/compose-cancel.imageset/Contents.json
vendored
Normal file
23
Signal/Images.xcassets/compose-cancel.imageset/Contents.json
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"images" : [
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "x-20@1x.png",
|
||||
"scale" : "1x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "x-20@2x.png",
|
||||
"scale" : "2x"
|
||||
},
|
||||
{
|
||||
"idiom" : "universal",
|
||||
"filename" : "x-20@3x.png",
|
||||
"scale" : "3x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"version" : 1,
|
||||
"author" : "xcode"
|
||||
}
|
||||
}
|
BIN
Signal/Images.xcassets/compose-cancel.imageset/x-20@1x.png
vendored
Normal file
BIN
Signal/Images.xcassets/compose-cancel.imageset/x-20@1x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 223 B |
BIN
Signal/Images.xcassets/compose-cancel.imageset/x-20@2x.png
vendored
Normal file
BIN
Signal/Images.xcassets/compose-cancel.imageset/x-20@2x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 371 B |
BIN
Signal/Images.xcassets/compose-cancel.imageset/x-20@3x.png
vendored
Normal file
BIN
Signal/Images.xcassets/compose-cancel.imageset/x-20@3x.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 499 B |
|
@ -618,7 +618,7 @@ public class LinkPreviewView: UIStackView {
|
|||
cancelStack.setContentHuggingHigh()
|
||||
cancelStack.setCompressionResistanceHigh()
|
||||
|
||||
let cancelImage: UIImage = #imageLiteral(resourceName: "quoted-message-cancel").withRenderingMode(.alwaysTemplate)
|
||||
let cancelImage = UIImage(named: "compose-cancel")?.withRenderingMode(.alwaysTemplate)
|
||||
let cancelButton = UIButton(type: .custom)
|
||||
cancelButton.setImage(cancelImage, for: .normal)
|
||||
cancelButton.addTarget(self, action: #selector(didTapCancel(sender:)), for: .touchUpInside)
|
||||
|
|
Loading…
Reference in a new issue