Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rdjuric committed Sep 15, 2021
1 parent e06bc60 commit b3fc7c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/components/OptionsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,7 @@ class OptionsList extends Component {

render() {
return (
<View
style={[...this.props.listContainerStyles]}
>
<View style={this.props.listContainerStyles}>
{this.props.headerMessage ? (
<View style={[styles.ph5, styles.pb5]}>
<Text style={[styles.textLabel, styles.colorMuted]}>
Expand Down
6 changes: 5 additions & 1 deletion src/pages/iou/IOUModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,11 @@ class IOUModal extends Component {
if (this.state.previousStepIndex > this.state.currentStepIndex) {
return 'out';
}
return null;

// Doesn't animate the step when first opening the modal
if (this.state.previousStepIndex === this.state.currentStepIndex) {
return null;
}
}

/**
Expand Down

0 comments on commit b3fc7c4

Please sign in to comment.