Skip to content

Commit

Permalink
Merge pull request #44 from MattMattV/patch-1
Browse files Browse the repository at this point in the history
Typo in getting started page
  • Loading branch information
jayohms authored Sep 26, 2024
2 parents f110f5a + 1b3e131 commit f7f3eaf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _source/android/01_getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ Set up the app's layout by opening `activity_main.xml` and replace the entire fi
Finally, open `MainActivity.kt` and replace the entire file with this code:

```kotlin
import android.os.Bundle
import dev.hotwire.navigation.activities.HotwireActivity
import dev.hotwire.navigation.navigator.NavigatorConfiguration

class MainActivity : HotwireActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
Expand All @@ -71,7 +75,7 @@ class MainActivity : HotwireActivity() {
NavigatorConfiguration(
name = "main",
startLocation = "https://hotwire-native-demo.dev",
navigatorHostId = R.id.main_navigator_host
navigatorHostId = R.id.main_nav_host
)
)
}
Expand Down

0 comments on commit f7f3eaf

Please sign in to comment.