1
0
mirror of https://github.com/tooot-app/app synced 2024-12-27 18:02:34 +01:00
Zhiyuan Zheng 2022-05-04 23:55:46 +02:00
parent 235404dc02
commit b2043d884f

View File

@ -4,7 +4,6 @@ import android.os.Bundle;
import com.facebook.react.ReactActivity;
import com.facebook.react.ReactActivityDelegate;
import com.facebook.react.ReactRootView;
import com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView;
import expo.modules.ReactActivityDelegateWrapper;
@ -22,17 +21,4 @@ public class MainActivity extends ReactActivity {
protected String getMainComponentName() {
return "main";
}
@Override
protected ReactActivityDelegate createReactActivityDelegate() {
return new ReactActivityDelegateWrapper(
this,
new ReactActivityDelegate(this, getMainComponentName()) {
@Override
protected ReactRootView createRootView() {
return new RNGestureHandlerEnabledRootView(MainActivity.this);
}
}
);
}
}