summaryrefslogtreecommitdiffhomepage
path: root/ios
diff options
context:
space:
mode:
authorSajad Vishkai <sajaclvishkai@gmail.com>2022-09-26 11:48:50 +0200
committerAndrej Mihajlov <and@mullvad.net>2022-09-26 16:31:20 +0200
commitb75548d9ceea0bca043b98649b9a086633f3e875 (patch)
tree04555c759bebc0e87f4cd277e0e6e8016b25a221 /ios
parent93a3208145f59de08bb864d3630d271c575edd8f (diff)
downloadmullvadvpn-b75548d9ceea0bca043b98649b9a086633f3e875.tar.xz
mullvadvpn-b75548d9ceea0bca043b98649b9a086633f3e875.zip
Update NotificationBannerView.swift
Diffstat (limited to 'ios')
-rw-r--r--ios/MullvadVPN/NotificationBannerView.swift4
1 files changed, 1 insertions, 3 deletions
diff --git a/ios/MullvadVPN/NotificationBannerView.swift b/ios/MullvadVPN/NotificationBannerView.swift
index bd74ee3dbf..325230d8a6 100644
--- a/ios/MullvadVPN/NotificationBannerView.swift
+++ b/ios/MullvadVPN/NotificationBannerView.swift
@@ -66,9 +66,7 @@ class NotificationBannerView: UIView {
view.translatesAutoresizingMaskIntoConstraints = false
view.backgroundColor = .dangerColor
view.layer.cornerRadius = NotificationBannerView.indicatorViewSize.width * 0.5
- if #available(iOS 13.0, *) {
- view.layer.cornerCurve = .circular
- }
+ view.layer.cornerCurve = .circular
return view
}()