summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN/ConnectionPanelView.swift
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2020-07-23 15:13:07 +0300
committerAndrej Mihajlov <and@mullvad.net>2020-07-30 09:50:25 +0300
commita2e4d8e3b39ccaea3ab00fc3caf13d86fbd3edb1 (patch)
tree85157be91e3fd2f2dbb28b8a51420d66398b7493 /ios/MullvadVPN/ConnectionPanelView.swift
parentca590bb989cea195b67208dc49da9419da14e9a1 (diff)
downloadmullvadvpn-a2e4d8e3b39ccaea3ab00fc3caf13d86fbd3edb1.tar.xz
mullvadvpn-a2e4d8e3b39ccaea3ab00fc3caf13d86fbd3edb1.zip
Revamp Connect controller buttons
Diffstat (limited to 'ios/MullvadVPN/ConnectionPanelView.swift')
-rw-r--r--ios/MullvadVPN/ConnectionPanelView.swift6
1 files changed, 3 insertions, 3 deletions
diff --git a/ios/MullvadVPN/ConnectionPanelView.swift b/ios/MullvadVPN/ConnectionPanelView.swift
index fbf0ae44d3..325fc17bc2 100644
--- a/ios/MullvadVPN/ConnectionPanelView.swift
+++ b/ios/MullvadVPN/ConnectionPanelView.swift
@@ -182,12 +182,12 @@ class ConnectionPanelCollapseButton: CustomButton {
enum Style {
case up, down
- var image: UIImage {
+ var image: UIImage? {
switch self {
case .up:
- return UIImage(imageLiteralResourceName: "IconChevronUp")
+ return UIImage(named: "IconChevronUp")
case .down:
- return UIImage(imageLiteralResourceName: "IconChevronDown")
+ return UIImage(named: "IconChevronDown")
}
}
}