Swift cleanup: "init (" -> "init("
Signed-off-by: Bryan Montz <bryanmontz@me.com> Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
William Casarin
parent
16c86c1d1c
commit
0c627ae0a0
@@ -10,11 +10,11 @@ import SwiftUI
|
||||
struct EndBlock: View {
|
||||
let height: CGFloat
|
||||
|
||||
init () {
|
||||
init() {
|
||||
self.height = 10.0
|
||||
}
|
||||
|
||||
init (height: Float) {
|
||||
init(height: Float) {
|
||||
self.height = CGFloat(height)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user