Skip to content

Adds UserInteraction environment object #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

simonbs
Copy link
Contributor

@simonbs simonbs commented Mar 3, 2025

Replaces enableUserInteraction state with UserInteraction environment object.

Description

Motivation and Context

This makes it easier to observe whether the UI should respond to user interaction as well as modifying the state.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

# Conflicts:
#	Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift
#	Sources/Spices/Internal/Views/MenuItemListContent.swift
#	Sources/Spices/Internal/Views/MenuItemListView.swift
@simonbs simonbs merged commit b34a19d into main Mar 3, 2025
9 checks passed
@simonbs simonbs deleted the enhancement/userinteraction-environmentobject branch March 3, 2025 20:50
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.

1 participant