hide accessibility when the home screen cell is in placeholder mode

This commit is contained in:
Mauro Romito
2025-07-21 11:57:14 +02:00
committed by Mauro
parent 9c52334772
commit 5c030f6682
@@ -43,6 +43,7 @@ struct HomeScreenRoomCell: View {
} }
.buttonStyle(HomeScreenRoomCellButtonStyle(isSelected: isSelected)) .buttonStyle(HomeScreenRoomCellButtonStyle(isSelected: isSelected))
.accessibilityIdentifier(A11yIdentifiers.homeScreen.roomName(room.name)) .accessibilityIdentifier(A11yIdentifiers.homeScreen.roomName(room.name))
.accessibilityHidden(redactionReasons.contains(.placeholder) ? true : false)
} }
@ViewBuilder @MainActor @ViewBuilder @MainActor