Skip to content

Commit d3ca8ab

Browse files
committed
adaptor scrollinstance block
1 parent c25658c commit d3ca8ab

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

harmony/smart_refresh_layout.har

52 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default class BuildProfile {
2-
static readonly HAR_VERSION = '0.6.7-0.3.2';
2+
static readonly HAR_VERSION = '0.6.7-0.3.3';
33
static readonly BUILD_MODE_NAME = 'debug';
44
static readonly DEBUG = true;
55
}

harmony/smart_refresh_layout/oh-package.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"name": "@react-native-oh-tpl/react-native-smartrefreshlayout",
77
"description": "Please describe the basic information.",
88
"main": "index.ets",
9-
"version": "0.6.7-0.3.2",
9+
"version": "0.6.7-0.3.3",
1010
"dependencies": {
1111
"rnoh": "file:../rnoh"
1212
},

harmony/smart_refresh_layout/src/main/cpp/SmartRefreshLayoutComponentInstance.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ namespace rnoh {
223223
if (c->getComponentName() == "ScrollView") {
224224
auto scrollView = std::dynamic_pointer_cast<rnoh::ScrollViewComponentInstance>(c);
225225
if (blocked) {
226-
scrollView->onNativeResponderBlockChange(!blocked);
226+
scrollView->setNativeResponderBlocked(!blocked,"REACT_NATIVE");
227227
}
228228
break;
229229
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-oh-tpl/react-native-smartrefreshlayout",
3-
"version": "0.6.7-0.3.2",
3+
"version": "0.6.7-0.3.3",
44
"description": "基于android SmartRefreshLayout的封装",
55
"harmony": {
66
"alias": "react-native-smartrefreshlayout"

0 commit comments

Comments
 (0)