mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
- improved detection of false positives for dynamic type size
- improved also a11y for the knock request message - improved a11y for reply view
This commit is contained in:
@@ -101,13 +101,14 @@ class AccessibilityTestsAppCoordinator: AppCoordinatorProtocol {
|
||||
|
||||
struct PreviewsWrapperView: View {
|
||||
let wrapper: PreviewsWrapper
|
||||
@Environment(\.dynamicTypeSize) var dynamicTypeSize
|
||||
|
||||
var body: some View {
|
||||
if wrapper.currentIndex < 0 || wrapper.isDone {
|
||||
EmptyView()
|
||||
} else {
|
||||
wrapper.currentPreview.content
|
||||
.id(wrapper.previewName)
|
||||
.id("\(wrapper.previewName)-\(dynamicTypeSize)")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user