diff options
| author | Jon Petersson <jon.petersson@kvadrat.se> | 2024-01-02 16:56:58 +0100 |
|---|---|---|
| committer | Bug Magnet <marco.nikic@mullvad.net> | 2024-01-25 16:56:03 +0100 |
| commit | f838ac813eb5370ee2ee372aa85ea24fb5fd5644 (patch) | |
| tree | c235d9d40ec260f0d4f7808f0f549154f6a80a9e /ios/MullvadVPN/View controllers/Alert/AlertViewController.swift | |
| parent | ebf5f4cf288a3f9fd5959e8ef9194ae563d88d9a (diff) | |
| download | mullvadvpn-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.swift | 3 |
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: |
