mirror of
https://github.com/fxm90/GradientLoadingBar.git
synced 2026-11-18 21:14:09 +00:00
🚨 :: Fix warning
This commit is contained in:
1 parent
a6b56d9b32
commit
1cd1d0c8ee
1 file changed
+1
@@ -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