1. 02 Jul, 2018 3 commits
    • Daniel García Moreno's avatar
      Escape management in only one method · f74fbb57
      Daniel García Moreno authored
      I've moved the leave full screen on escape from the media_viewer to the
      existing escape method in state.rs to have all the behaviour in only one
      place.
      
      Doing this I've also added the functionality to go back to the chat when
      we're in the MediaViewer and to do this I've to modify a little the
      autocomplete, to avoid the close when we press escape on the
      autocomplete popover.
      
      I've also changed the key management on key press instead of key release
      because the keypress is grabbed by child windows or popovers and the
      release isn't.
      
      Close #277
      f74fbb57
    • Daniel García Moreno's avatar
      MediaViewer: replace if-let chain with and_then · 03b3366d
      Daniel García Moreno authored
      I've replaced the 4 deep if-let using the Option and_then and map
      methods.
      
      The last map method transform the ptr to an Option<bool> type, to be
      able to use the ? operator inside this closure.
      03b3366d
    • Daniel García Moreno's avatar
      03658189
  2. 01 Jul, 2018 7 commits
  3. 30 Jun, 2018 1 commit
  4. 29 Jun, 2018 1 commit
  5. 27 Jun, 2018 2 commits
  6. 26 Jun, 2018 11 commits
  7. 22 Jun, 2018 3 commits
  8. 20 Jun, 2018 2 commits
  9. 19 Jun, 2018 2 commits
  10. 18 Jun, 2018 7 commits
  11. 17 Jun, 2018 1 commit