Closed carlpoole closed 1 year ago
if (PortalManager.size() == 0) {
throw Exception("Ionic Portals has not been setup with any Portals!")
}
Probably want to remove this check. Or at least only check when portal
is null:
if (portal == null && PortalManager.size() == 0) {
throw Exception("Ionic Portals has not been setup with any Portals!")
}
…instead of relying on the PortalManager to retrieve the Portal