mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Space tweaks. (#5068)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user