From 56bee299b7b4245986a7cb970a2bddd1a8341c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoni=20Silvestrovi=C4=8D?= Date: Thu, 15 Jul 2021 17:56:14 +0300 Subject: [PATCH] Removed public modifiers from config protocol --- .../TooltipConfigurations/TooltipConfig.swift | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Sources/SwiftUITooltip/TooltipConfigurations/TooltipConfig.swift b/Sources/SwiftUITooltip/TooltipConfigurations/TooltipConfig.swift index c8a4d6a..5ac8f00 100644 --- a/Sources/SwiftUITooltip/TooltipConfigurations/TooltipConfig.swift +++ b/Sources/SwiftUITooltip/TooltipConfigurations/TooltipConfig.swift @@ -11,32 +11,32 @@ import SwiftUI public protocol TooltipConfig { // MARK: - Alignment - public var side: TooltipSide { get set } - public var margin: CGFloat { get set } + var side: TooltipSide { get set } + var margin: CGFloat { get set } // MARK: - Tooltip container - public var borderRadius: CGFloat { get set } - public var borderWidth: CGFloat { get set } - public var borderColor: Color { get set } + var borderRadius: CGFloat { get set } + var borderWidth: CGFloat { get set } + var borderColor: Color { get set } // MARK: - Margins and paddings - public var contentPaddingLeft: CGFloat { get set } - public var contentPaddingRight: CGFloat { get set } - public var contentPaddingTop: CGFloat { get set } - public var contentPaddingBottom: CGFloat { get set } + var contentPaddingLeft: CGFloat { get set } + var contentPaddingRight: CGFloat { get set } + var contentPaddingTop: CGFloat { get set } + var contentPaddingBottom: CGFloat { get set } - public var contentPaddingEdgeInsets: EdgeInsets { get } + var contentPaddingEdgeInsets: EdgeInsets { get } // MARK: - Tooltip arrow - public var showArrow: Bool { get set } - public var arrowWidth: CGFloat { get set } - public var arrowHeight: CGFloat { get set } + var showArrow: Bool { get set } + var arrowWidth: CGFloat { get set } + var arrowHeight: CGFloat { get set } // MARK: - Animation settings - public var enableAnimation: Bool { get set } - public var animationOffset: CGFloat { get set } - public var animationTime: Double { get set } + var enableAnimation: Bool { get set } + var animationOffset: CGFloat { get set } + var animationTime: Double { get set } }