Skip to content

Global option to disable POW effects when voiceover is activatedΒ #52

@iTarek

Description

@iTarek

POW is not necessarily suitable for users who utilize voiceover. It can also damage the voiceover and occasionally create an excessively large accessibility rectangle with effects like (.spray, glow, etc..). I would like to propose a global option to disable POW effects when voiceover is activated. At present, I have to do this manually.

                            .if(!UIAccessibility.isVoiceOverRunning) {
                                $0.changeEffect(
                                    .spray(origin: UnitPoint(x: 0.25, y: 0.5)) {
                                        Image(systemName: isFavorite ? "heart.fill" : "xmark")
                                            .foregroundStyle(isFavorite ? .red : .gray)
                                    }, value: itemsModel.favoriteItems.contains(item))
                            }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions