Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Commit

Permalink
Restore R. in place of android.R
Browse files Browse the repository at this point in the history
  • Loading branch information
j-piasecki committed Feb 28, 2022
1 parent 4209426 commit aadd131
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import com.facebook.react.uimanager.annotations.ReactProp
import com.facebook.react.viewmanagers.RNGestureHandlerButtonManagerDelegate
import com.facebook.react.viewmanagers.RNGestureHandlerButtonManagerInterface
import com.swmansion.gesturehandler.NativeViewGestureHandler
import com.swmansion.gesturehandler.R
import com.swmansion.gesturehandler.react.RNGestureHandlerButtonViewManager.ButtonViewGroup

@ReactModule(name = RNGestureHandlerButtonViewManager.REACT_CLASS)
Expand Down Expand Up @@ -348,10 +349,10 @@ class RNGestureHandlerButtonViewManager : ViewGroupManager<ButtonViewGroup>(), R
SoftAssertions.assertNotNull(attr)
return when (attr) {
SELECTABLE_ITEM_BACKGROUND -> {
android.R.attr.selectableItemBackground
R.attr.selectableItemBackground
}
SELECTABLE_ITEM_BACKGROUND_BORDERLESS -> {
android.R.attr.selectableItemBackgroundBorderless
R.attr.selectableItemBackgroundBorderless
}
else -> {
context.resources.getIdentifier(attr, "attr", "android")
Expand Down
Binary file added react-native-gesture-handler-2.2.0.tgz
Binary file not shown.

0 comments on commit aadd131

Please sign in to comment.