summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2021-10-12 14:18:06 +0200
committerAndrej Mihajlov <and@mullvad.net>2021-11-03 13:30:51 +0100
commit55e7ac2525d86a0e708046d9eed9a6d29a322dc0 (patch)
treec92dc021662019e282cfb7deee578a1f0ac7108c
parent8810b2439113300d3ab2935488ba112110195bd5 (diff)
downloadmullvadvpn-55e7ac2525d86a0e708046d9eed9a6d29a322dc0.tar.xz
mullvadvpn-55e7ac2525d86a0e708046d9eed9a6d29a322dc0.zip
UIMetrics: add cellIndentationWidth and selectLocationCellLayoutMargins
-rw-r--r--ios/MullvadVPN/UIMetrics.swift6
1 files changed, 6 insertions, 0 deletions
diff --git a/ios/MullvadVPN/UIMetrics.swift b/ios/MullvadVPN/UIMetrics.swift
index 9f60a35278..51d9a36369 100644
--- a/ios/MullvadVPN/UIMetrics.swift
+++ b/ios/MullvadVPN/UIMetrics.swift
@@ -15,6 +15,12 @@ extension UIMetrics {
/// Common layout margins for content presentation
static var contentLayoutMargins = UIEdgeInsets(top: 24, left: 24, bottom: 24, right: 24)
+ /// Common layout margins for location cell presentation
+ static var selectLocationCellLayoutMargins = UIEdgeInsets(top: 16, left: 28, bottom: 16, right: 12)
+
+ /// Common cell indentation width
+ static var cellIndentationWidth: CGFloat = 16
+
/// Layout margins for in-app notification banner presentation
static var inAppBannerNotificationLayoutMargins = UIEdgeInsets(top: 16, left: 24, bottom: 16, right: 24)