Skip to content

Commit f4b85fc

Browse files
1nspir3dSimek
andauthored
Update link to MainActivity.kt file (#4533)
* Update link to MainActivity.kt file Wrong url was used linking to MainApplication.kt file instead. 0.76-0.78 versions affected * Update website/versioned_docs/version-0.78/_integration-with-existing-apps-kotlin.md update the link to point to the 0.78 Co-authored-by: Bartosz Kaszubowski <[email protected]> --------- Co-authored-by: Bartosz Kaszubowski <[email protected]>
1 parent 1c45a6c commit f4b85fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/versioned_docs/version-0.78/_integration-with-existing-apps-kotlin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ class MyReactActivity : ReactActivity() {
424424
</TabItem>
425425
</Tabs>
426426

427-
As usual, here the [MainActivity.kt Community template file as reference](https://github.com/react-native-community/template/blob/0.77-stable/template/android/app/src/main/java/com/helloworld/MainApplication.kt)
427+
As usual, here the [MainActivity.kt Community template file as reference](https://github.com/react-native-community/template/blob/0.78-stable/template/android/app/src/main/java/com/helloworld/MainActivity.kt)
428428

429429
Whenever you create a new Activity, you need to add it to your `AndroidManifest.xml` file. You also need set the theme of `MyReactActivity` to `Theme.AppCompat.Light.NoActionBar` (or to any non-ActionBar theme) as otherwise your application will render an ActionBar on top of your React Native screen:
430430

0 commit comments

Comments
 (0)