From 2af052b53c4399bc8bc981d65975d16736738052 Mon Sep 17 00:00:00 2001 From: Felix Mau Date: Sat, 9 Jun 2018 11:02:51 +0200 Subject: [PATCH] * refactored property `height` to constant --- GradientLoadingBar/Classes/GradientLoadingBarController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GradientLoadingBar/Classes/GradientLoadingBarController.swift b/GradientLoadingBar/Classes/GradientLoadingBarController.swift index 11be87d..8c20764 100644 --- a/GradientLoadingBar/Classes/GradientLoadingBarController.swift +++ b/GradientLoadingBar/Classes/GradientLoadingBarController.swift @@ -50,7 +50,7 @@ open class GradientLoadingBarController { public let gradientView: GradientView /// Height of gradient bar. - public private(set) var height = 0.0 + public let height: Double /// Superview that the gradient view is attached to. public private(set) var superview: UIView?