IceCubesApp/Packages/Status
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
..
.swiftpm/xcode/xcshareddata/xcschemes Generic Statuses list 2022-12-19 07:17:01 +01:00
Sources/Status Accessibility bug fixes (#1348) 2023-04-03 11:14:44 +02:00
.gitignore Account statuses and more packages 2022-12-18 20:30:19 +01:00
Package.resolved Rework image compression / upload 2023-03-11 13:38:08 +01:00
Package.swift Composer: Internalize TextView + fix a lot of lag when editing 2023-02-06 12:24:57 +01:00
README.md Account statuses and more packages 2022-12-18 20:30:19 +01:00

Status

A description of this package.