implemented the flow to create room in a selected space

This commit is contained in:
Mauro Romito
2026-01-21 18:59:29 +01:00
committed by Mauro
parent 8b38c2874a
commit d012380b01
10 changed files with 126 additions and 15 deletions
@@ -121,6 +121,11 @@ struct SpaceScreen: View {
Menu {
if context.viewState.canEditChildren {
Section {
if context.viewState.canCreateRoom {
Button { context.send(viewAction: .createChildRoom) } label: {
Label(L10n.actionCreateARoom, icon: \.plus)
}
}
Button { context.send(viewAction: .addExistingRooms) } label: {
Label(L10n.actionAddExistingRooms, icon: \.room)
}