Reaja a tela atual de navegação nativa

navigation.getState().routeNames[0] !== 'Rooms'
GutoTrosla