Skip to content

Commit

Permalink
fix android onCreate crash
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-whitman committed Mar 8, 2024
1 parent b4c36ad commit 89b47fb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions android/app/src/main/java/com/helium/wallet/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
import expo.modules.ReactActivityDelegateWrapper;

public class MainActivity extends ReactActivity {
@Override
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// must return null for react-navigation
// https://github.com/software-mansion/react-native-screens#android
super.onCreate(null);
}

/**
Expand Down

0 comments on commit 89b47fb

Please sign in to comment.