Skip to content

Commit

Permalink
fix: remove FabricEnabledViewGroup (#1851)
Browse files Browse the repository at this point in the history
PR removing FabricEnabledViewGroup since it was only needed for custom state which is not used in react-native-svg.
  • Loading branch information
WoLewicki authored Sep 6, 2022
1 parent 2ff9226 commit 2d44893
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 80 deletions.

This file was deleted.

4 changes: 2 additions & 2 deletions android/src/main/java/com/horcrux/svg/SvgView.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.facebook.react.uimanager.ReactCompoundView;
import com.facebook.react.uimanager.ReactCompoundViewGroup;
import com.facebook.react.uimanager.annotations.ReactProp;
import com.facebook.react.views.view.ReactViewGroup;
import java.io.ByteArrayOutputStream;
import java.util.HashMap;
import java.util.Map;
Expand All @@ -34,8 +35,7 @@

/** Custom {@link View} implementation that draws an RNSVGSvg React view and its children. */
@SuppressLint("ViewConstructor")
public class SvgView extends FabricEnabledViewGroup
implements ReactCompoundView, ReactCompoundViewGroup {
public class SvgView extends ReactViewGroup implements ReactCompoundView, ReactCompoundViewGroup {

@Override
public boolean interceptsTouchEvent(float touchX, float touchY) {
Expand Down
16 changes: 0 additions & 16 deletions android/src/paper/java/com/horcrux/svg/FabricEnabledViewGroup.java

This file was deleted.

0 comments on commit 2d44893

Please sign in to comment.