isTwoUserLayout method

bool isTwoUserLayout()

Implementation

bool isTwoUserLayout() {
  if (_getUserListLength() > 2 || RoomStore.to.isSharing.value) {
    return false;
  }
  if (_getUserListLength() == 2 && _noVideoAvailable()) {
    return false;
  }
  return true;
}