redbadger/pride-london-app

View on GitHub
android/app/src/main/java/org/prideinlondon/festival/MainActivity.java

Summary

Maintainability
A
0 mins
Test Coverage
package org.prideinlondon.festival;
import android.os.Bundle;
import com.facebook.react.ReactActivity;
import org.devio.rn.splashscreen.SplashScreen;

import com.facebook.react.ReactActivity;

public class MainActivity extends ReactActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        SplashScreen.show(this);
        setTheme(R.style.AppTheme);
        super.onCreate(savedInstanceState);
    }

    /**
     * Returns the name of the main component registered from JavaScript.
     * This is used to schedule rendering of the component.
     */
    @Override
    protected String getMainComponentName() {
        return "PrideLondonApp";
    }
}