mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:11:45 +00:00
hide accessibility when the home screen cell is in placeholder mode
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user