mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Minor space tweaks (#4577)
* Hide the space ShareLink on iOS 26 for now. * Don't allow the last admin to leave a space.
This commit is contained in:
@@ -24,6 +24,8 @@ struct SpaceScreenViewState: BindableState {
|
||||
var selectedSpaceRoomID: String?
|
||||
var joiningRoomIDs: Set<String> = []
|
||||
|
||||
var isSpaceManagementEnabled = false
|
||||
|
||||
var bindings = SpaceScreenViewStateBindings()
|
||||
|
||||
var spaceName: String { space.name ?? L10n.commonSpace }
|
||||
@@ -39,4 +41,5 @@ enum SpaceScreenViewAction {
|
||||
case deselectAllLeaveRoomDetails
|
||||
case toggleLeaveSpaceRoomDetails(id: String)
|
||||
case confirmLeaveSpace
|
||||
case spaceSettings
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user