@react-native-menu/menu 0.7.3 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -32,7 +32,7 @@ class MenuView(private val mContext: ReactContext): ReactViewGroup(mContext) {
|
|
|
32
32
|
prepareMenu()
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
override fun
|
|
35
|
+
override fun onSingleTapUp(e: MotionEvent): Boolean {
|
|
36
36
|
if (!mIsOnLongPress) {
|
|
37
37
|
prepareMenu()
|
|
38
38
|
}
|
|
@@ -262,4 +262,4 @@ class MenuView(private val mContext: ReactContext): ReactViewGroup(mContext) {
|
|
|
262
262
|
0, text.length, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE)
|
|
263
263
|
return textWithColor
|
|
264
264
|
}
|
|
265
|
-
}
|
|
265
|
+
}
|