Skip to content

Commit 19b6836

Browse files
committed
Adjust size of close button to account for borders
1 parent 390ab90 commit 19b6836

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios/MullvadVPN/Extensions/UIImage+Assets.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ extension UIImage {
5555
// the close button, which comes we consume in two sizes, both of which come from the same asset
5656

5757
static var closeSmall: UIImage {
58-
UIImage(named: "IconClose")!.resizeImage(targetSize: CGSize(width: 16, height: 16))
58+
UIImage(named: "IconClose")!.resizeImage(targetSize: CGSize(width: 19, height: 19))
5959
}
6060

6161
static var closeLarge: UIImage {
62-
UIImage(named: "IconClose")!.resizeImage(targetSize: CGSize(width: 24, height: 24))
62+
UIImage(named: "IconClose")!.resizeImage(targetSize: CGSize(width: 29, height: 29))
6363
}
6464
}
6565

0 commit comments

Comments
 (0)