diff --git a/app/views/RoomsListView/index.js b/app/views/RoomsListView/index.js index 683b767f2..5b8796032 100644 --- a/app/views/RoomsListView/index.js +++ b/app/views/RoomsListView/index.js @@ -208,7 +208,9 @@ class RoomsListView extends React.Component { }); this.willBlurListener = navigation.addListener('willBlur', () => { closeServerDropdown(); - this.backHandler.remove(); + if (this.backHandler && this.backHandler.remove) { + this.backHandler.remove(); + } }); console.timeEnd(`${ this.constructor.name } mount`); }