Skip to content

Commit

Permalink
Fix swift files bad indent
Browse files Browse the repository at this point in the history
  • Loading branch information
marcantoinefortier committed Dec 7, 2023
1 parent a4faf32 commit ab7abfc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions ios/iosApp/Views/ExampleView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct ExampleView: View {
self.state = viewModel.state.value
}

var body: some View {
var body: some View {
VStack {
Text(state.greeting)
}
Expand All @@ -22,10 +22,10 @@ struct ExampleView: View {
self.state = state
}
} onCancel: {
viewModel.cancel()
viewModel.cancel()
}
}
}
}
}

#Preview {
Expand Down
8 changes: 4 additions & 4 deletions ios/iosApp/iOSApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import SwiftUI
struct IOSApp: App {
let viewModelFactory = ViewModelFactory()

var body: some Scene {
WindowGroup {
var body: some Scene {
WindowGroup {
ExampleView(
viewModel: viewModelFactory.example()
)
}
}
}
}
}

0 comments on commit ab7abfc

Please sign in to comment.