diff --git a/README.md b/README.md index 8bdfe95..cc06e93 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ using **Jetpack Compose** and on iOS using **SwiftUI** ### SwiftUI Code -``` +```swift struct ContentView: View { @ObservedObject var peopleInSpaceViewModel = PeopleInSpaceViewModel(repository: PeopleInSpaceRepository()) @@ -45,7 +45,7 @@ struct PersonView : View { ### Jetpack Compose code -``` +```kotlin class MainActivity : AppCompatActivity() { private val peopleInSpaceViewModel: PeopleInSpaceViewModel by viewModel()