Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ final class SpaceShareViewModel: ObservableObject {
}

private func updateUpgradeViewState() {
guard let participantSpaceView else { return }
guard let participantSpaceView, let participant = participantSpaceView.participant else { return }
guard participant.isOwner else { return }

let canAddWriters = participantSpaceView.spaceView.canAddWriters(participants: participants)
let spaceSharingInfo = participantSpacesStorage.spaceSharingInfo
Expand Down