fix(message-list): Clicking Archive or Trash should pop back to the thread list

This commit is contained in:
Ben Gotow 2015-10-23 15:21:37 -07:00
parent 4b1d8b0fbd
commit a855a67d1d
2 changed files with 2 additions and 0 deletions

View file

@ -29,6 +29,7 @@ class ThreadArchiveButton extends React.Component
threads: [@props.thread],
fromView: FocusedMailViewStore.mailView()
Actions.queueTask(task)
Actions.popSheet()
e.stopPropagation()

View file

@ -30,6 +30,7 @@ class ThreadTrashButton extends React.Component
threads: [@props.thread],
fromView: FocusedMailViewStore.mailView()
Actions.queueTask(task)
Actions.popSheet()
e.stopPropagation()