IceCubesApp/Packages/Account
Chris Kolbu f728ea652e
Accessibility bug fixes (#1348)
* Fix bug affecting accessibillityRepresentation of type Toggle

Previously, the action on the button would not get executed. This is a SwiftUI bug, as views passed into `accessibilityRepresentation` should not have any behaviour.

Now, we set an equivalent `accessibilityValue` on|off to emulate the same functionality.

* Remove conditional ViewModifier in favour of inlined modifier

Since this view is part of the `StatusRowView` it’s better to err on the side of less branching with ModifiedContent<>

* Avoid combining StatusRowMediaPreviewView accessibility children

By combining the elements, the end result was that the intended action (opening QuickLook) was swallowed in favour of displaying the alt text alert of images.
2023-04-03 11:14:44 +02:00
..
Sources/Account Accessibility bug fixes (#1348) 2023-04-03 11:14:44 +02:00
Tests/AccountTests Swiftformat 2023-01-17 11:36:01 +01:00
.gitignore New Routeur 2022-11-29 11:46:02 +01:00
Package.swift Implement Localization (#80) 2023-01-19 18:14:08 +01:00
README.md New Routeur 2022-11-29 11:46:02 +01:00

Account

A description of this package.