Space tweaks. (#5068)

This commit is contained in:
Doug
2026-02-09 11:54:41 +00:00
committed by GitHub
parent 7c96ebfca6
commit 4b4b060bff
2 changed files with 8 additions and 3 deletions
@@ -138,8 +138,10 @@ struct SpaceScreen: View {
}
.accessibilityIdentifier(A11yIdentifiers.spaceScreen.addExistingRooms)
Button { context.send(viewAction: .manageChildren) } label: {
Label(L10n.actionManageRooms, icon: \.edit)
if context.viewState.rooms.count > 0 {
Button { context.send(viewAction: .manageChildren) } label: {
Label(L10n.actionManageRooms, icon: \.edit)
}
}
}
}