summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN/View controllers/Alert/AlertViewController.swift
diff options
context:
space:
mode:
authorJon Petersson <jon.petersson@kvadrat.se>2024-01-02 16:56:58 +0100
committerBug Magnet <marco.nikic@mullvad.net>2024-01-25 16:56:03 +0100
commitf838ac813eb5370ee2ee372aa85ea24fb5fd5644 (patch)
treec235d9d40ec260f0d4f7808f0f549154f6a80a9e /ios/MullvadVPN/View controllers/Alert/AlertViewController.swift
parentebf5f4cf288a3f9fd5959e8ef9194ae563d88d9a (diff)
downloadmullvadvpn-f838ac813eb5370ee2ee372aa85ea24fb5fd5644.tar.xz
mullvadvpn-f838ac813eb5370ee2ee372aa85ea24fb5fd5644.zip
Update API access methods functionality UI to conform with designs
Diffstat (limited to 'ios/MullvadVPN/View controllers/Alert/AlertViewController.swift')
-rw-r--r--ios/MullvadVPN/View controllers/Alert/AlertViewController.swift3
1 files changed, 3 insertions, 0 deletions
diff --git a/ios/MullvadVPN/View controllers/Alert/AlertViewController.swift b/ios/MullvadVPN/View controllers/Alert/AlertViewController.swift
index 3d0e0a29ed..2f1796b063 100644
--- a/ios/MullvadVPN/View controllers/Alert/AlertViewController.swift
+++ b/ios/MullvadVPN/View controllers/Alert/AlertViewController.swift
@@ -24,6 +24,7 @@ enum AlertActionStyle {
enum AlertIcon {
case alert
+ case warning
case info
case spinner
@@ -31,6 +32,8 @@ enum AlertIcon {
switch self {
case .alert:
return UIImage(named: "IconAlert")?.withTintColor(.dangerColor)
+ case .warning:
+ return UIImage(named: "IconAlert")?.withTintColor(.white)
case .info:
return UIImage(named: "IconInfo")?.withTintColor(.white)
default: