diff --git a/app/views/roomsList.js b/app/views/roomsList.js index e7f07c36..00634326 100644 --- a/app/views/roomsList.js +++ b/app/views/roomsList.js @@ -59,9 +59,15 @@ export default class RoomsListView extends React.Component { navigation: PropTypes.object.isRequired } - static navigationOptions = () => ({ - title: 'Rooms' - }); + static navigationOptions = () => { + const server = RocketChat.currentServer ? RocketChat.currentServer.replace(/^https?:\/\//, '') : ''; + return { + title: + Channels + {server} + + }; + } constructor(props) { super(props);