use the right check to show sec n privacy section in space settings

This commit is contained in:
Mauro Romito
2025-12-18 10:24:41 +01:00
committed by Mauro
parent 2c8c027b2f
commit 8e594807f5

View File

@@ -14,7 +14,7 @@ struct SpaceSettingsScreen: View {
var body: some View {
Form {
editSection
if context.viewState.canEditRolesOrPermissions {
if context.viewState.canSeeSecurityAndPrivacy {
securitySection
}
peopleSection