Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/AR/ViroARSceneNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1167,7 +1167,7 @@ export class ViroARSceneNavigator extends React.Component<Props, State> {
{...this.props}
viroAppProps={viroAppProps}
currentSceneIndex={this.state.currentSceneIndex}
style={(this.props.style, styles.container)}
style={[this.props.style, styles.container]}
>
{items}
</VRTARSceneNavigator>
Expand Down
2 changes: 1 addition & 1 deletion components/Viro3DSceneNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ export class Viro3DSceneNavigator extends React.Component<Props, State> {
{...this.props}
viroAppProps={viroAppProps}
currentSceneIndex={this.state.currentSceneIndex}
style={(this.props.style, styles.container)}
style={[this.props.style, styles.container]}
hasOnExitViroCallback={!!this.props.onExitViro}
onExitViro={this._onExitViro}
>
Expand Down
2 changes: 1 addition & 1 deletion components/ViroSceneNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ export class ViroSceneNavigator extends React.Component<Props, State> {
vrModeEnabled={vrModeEnabled}
viroAppProps={viroAppProps}
currentSceneIndex={this.state.currentSceneIndex}
style={(this.props.style, styles.container)}
style={[this.props.style, styles.container]}
hasOnExitViroCallback={this.props.onExitViro != undefined}
onExitViro={this._onExitViro}
>
Expand Down
2 changes: 1 addition & 1 deletion components/ViroVRSceneNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ export class ViroVRSceneNavigator extends React.Component<Props, State> {
{...this.props}
viroAppProps={viroAppProps}
currentSceneIndex={this.state.currentSceneIndex}
style={(this.props.style, styles.container)}
style={[this.props.style, styles.container]}
hasOnExitViroCallback={this.props.onExitViro != undefined}
onExitViro={this._onExitViro}
>
Expand Down
2 changes: 1 addition & 1 deletion dist/components/AR/ViroARSceneNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ class ViroARSceneNavigator extends React.Component {
const { viroAppProps = {} } = this.props;
return (<VRTARSceneNavigator ref={(component) => {
this._component = component;
}} {...this.props} viroAppProps={viroAppProps} currentSceneIndex={this.state.currentSceneIndex} style={(this.props.style, styles.container)}>
}} {...this.props} viroAppProps={viroAppProps} currentSceneIndex={this.state.currentSceneIndex} style={[this.props.style, styles.container]}>
{items}
</VRTARSceneNavigator>);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/components/Viro3DSceneNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ class Viro3DSceneNavigator extends React.Component {
} = this.props;
return (<VRT3DSceneNavigator ref={(component) => {
this._component = component;
}} {...this.props} viroAppProps={viroAppProps} currentSceneIndex={this.state.currentSceneIndex} style={(this.props.style, styles.container)} hasOnExitViroCallback={!!this.props.onExitViro} onExitViro={this._onExitViro}>
}} {...this.props} viroAppProps={viroAppProps} currentSceneIndex={this.state.currentSceneIndex} style={[this.props.style, styles.container]} hasOnExitViroCallback={!!this.props.onExitViro} onExitViro={this._onExitViro}>
{items}
</VRT3DSceneNavigator>);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/components/ViroSceneNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ class ViroSceneNavigator extends React.Component {
} = this.props;
return (<VRTSceneNavigator ref={(component) => {
this._component = component;
}} {...this.props} vrModeEnabled={vrModeEnabled} viroAppProps={viroAppProps} currentSceneIndex={this.state.currentSceneIndex} style={(this.props.style, styles.container)} hasOnExitViroCallback={this.props.onExitViro != undefined} onExitViro={this._onExitViro}>
}} {...this.props} vrModeEnabled={vrModeEnabled} viroAppProps={viroAppProps} currentSceneIndex={this.state.currentSceneIndex} style={[this.props.style, styles.container]} hasOnExitViroCallback={this.props.onExitViro != undefined} onExitViro={this._onExitViro}>
{items}
</VRTSceneNavigator>);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/components/ViroVRSceneNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ class ViroVRSceneNavigator extends React.Component {
const { viroAppProps = {} } = this.props;
return (<VRTVRSceneNavigator ref={(component) => {
this._component = component;
}} {...this.props} viroAppProps={viroAppProps} currentSceneIndex={this.state.currentSceneIndex} style={(this.props.style, styles.container)} hasOnExitViroCallback={this.props.onExitViro != undefined} onExitViro={this._onExitViro}>
}} {...this.props} viroAppProps={viroAppProps} currentSceneIndex={this.state.currentSceneIndex} style={[this.props.style, styles.container]} hasOnExitViroCallback={this.props.onExitViro != undefined} onExitViro={this._onExitViro}>
{items}
</VRTVRSceneNavigator>);
}
Expand Down