Skip to content

Conversation

@kyleve
Copy link
Collaborator

@kyleve kyleve commented May 2, 2024

No description provided.

}

isAccessibilityElement = model.isAccessibilityElement
accessibilityLabel = model.accessibilityLabel
Copy link
Collaborator

@RoyalPineapple RoyalPineapple Jun 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
accessibilityLabel = model.accessibilityLabel
if let label = model.accessibilityLabel {
accessibilityLabel = label
}

Otherwise a nil value in the var would override the default label

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants