Skip to content

Commit bb8665b

Browse files
authored
Merge pull request ptomasroos#923 from Alibrate/fix-underline
use __getValue() instead of ._value
2 parents 67e4f3b + 0be217e commit bb8665b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ScrollableTabBar.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const ScrollableTabBar = createReactClass({
148148
measureTab(page, event) {
149149
const { x, width, height, } = event.nativeEvent.layout;
150150
this._tabsMeasurements[page] = {left: x, right: x + width, width, height, };
151-
this.updateView({value: this.props.scrollValue._value, });
151+
this.updateView({value: this.props.scrollValue.__getValue(), });
152152
},
153153

154154
render() {
@@ -207,12 +207,12 @@ const ScrollableTabBar = createReactClass({
207207
width = WINDOW_WIDTH;
208208
}
209209
this.setState({ _containerWidth: width, });
210-
this.updateView({value: this.props.scrollValue._value, });
210+
this.updateView({value: this.props.scrollValue.__getValue(), });
211211
},
212212

213213
onContainerLayout(e) {
214214
this._containerMeasurements = e.nativeEvent.layout;
215-
this.updateView({value: this.props.scrollValue._value, });
215+
this.updateView({value: this.props.scrollValue.__getValue(), });
216216
},
217217
});
218218

0 commit comments

Comments
 (0)