🚨 :: Fix warning

This commit is contained in:
Felix Mau
2021-12-29 13:19:41 +01:00
parent a6b56d9b32
commit 1cd1d0c8ee
@@ -113,6 +113,7 @@ open class NotchGradientLoadingBarController: GradientLoadingBarController {
// MARK: - Private methods
// swiftlint:disable:next function_body_length
private func notchBezierPath(for screenWidth: CGFloat, config: Config) -> UIBezierPath {
// We always center the notch in the middle of the screen.
let leftNotchPoint = (screenWidth - config.notchWidth) / 2