mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Basic implementation of the UI, navigation wil be implemented in the next PR
This commit is contained in:
@@ -99,9 +99,9 @@ struct LeaveSpaceView: View {
|
||||
.buttonStyle(.compound(.primary))
|
||||
} else if context.viewState.isSpaceManagementEnabled {
|
||||
Button {
|
||||
context.send(viewAction: .spaceSettings)
|
||||
context.send(viewAction: .rolesAndPermissions)
|
||||
} label: {
|
||||
Label(L10n.actionGoToSettings, icon: \.settings)
|
||||
Label(L10n.actionGoToRolesAndPermissions, icon: \.settings)
|
||||
}
|
||||
.buttonStyle(.compound(.primary))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user