Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit 4e47f02

Browse files
authored
Merge pull request #172 from BoostIO/fix-dropbox-button-bug
Fix crush bug when press the "Dropbox" button on note modal
2 parents d350468 + 7cf99d8 commit 4e47f02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/DropboxNoteList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ export default class DropboxNoteList extends Component {
518518
}
519519
</View>
520520
</Card>
521-
<DropboxNoteModal setNoteModalClose={this.setNoteModalClose.bind(this)}
521+
<DropboxNoteModal setIsOpen={this.setNoteModalClose.bind(this)}
522522
isNoteOpen={this.state.isNoteOpen}
523523
path={this.state.path} />
524524
<ActionSheet ref={c => (this.actionSheet = c)} />

app/views/note/DropboxNoteModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export default class DropboxNoteModal extends React.Component {
209209

210210
onCloseModal () {
211211
this.saveNoteToDropbox()
212-
this.props.setNoteModalClose()
212+
this.props.setIsOpen()
213213
}
214214

215215
/**

0 commit comments

Comments
 (0)