Replace dismissAllModals for dismissModal (#562)
This commit is contained in:
parent
d344de915e
commit
9f64676215
2 changed files with 2 additions and 2 deletions
|
|
@ -131,7 +131,7 @@ class CreateChannel extends PureComponent {
|
|||
if (goBack) {
|
||||
this.props.navigator.pop({animated: true});
|
||||
} else {
|
||||
this.props.navigator.dismissAllModals({
|
||||
this.props.navigator.dismissModal({
|
||||
animationType: 'slide-down'
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ export default class SelectTeam extends PureComponent {
|
|||
handleTeamChange(team);
|
||||
EventEmitter.emit('close_channel_drawer');
|
||||
InteractionManager.runAfterInteractions(() => {
|
||||
this.props.navigator.dismissAllModals({
|
||||
this.props.navigator.dismissModal({
|
||||
animationType: 'slide-down'
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue