clarify comment

This commit is contained in:
Bruno Windels 2020-10-07 14:25:32 +02:00
parent de14d6b54b
commit 537972b97b

View File

@ -100,7 +100,7 @@ export class SessionViewModel extends ViewModel {
}
_closeCurrentRoom() {
// no closing in grid for now
// no closing in grid for now as it is disabled on narrow viewports
if (!this._gridViewModel) {
this._currentRoomTileViewModel?.close();
this._currentRoomViewModel = this.disposeTracked(this._currentRoomViewModel);