mirror of
https://github.com/fxm90/GradientLoadingBar.git
synced 2026-06-16 12:24:31 +00:00
🚨 :: Fix warning
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user