Skip to content

changes to coordinate_training_controller and refactor move_feedback#3235

Open
freebeartogoodhome wants to merge 1 commit into
lichess-org:mainfrom
freebeartogoodhome:smallCoord
Open

changes to coordinate_training_controller and refactor move_feedback#3235
freebeartogoodhome wants to merge 1 commit into
lichess-org:mainfrom
freebeartogoodhome:smallCoord

Conversation

@freebeartogoodhome
Copy link
Copy Markdown
Contributor

model/coordinate_training/coordinate_training_controller
I added some _stopwatch.stop(); in appropriate places.
I removed the two ref.read because we can just use orientation: state.orientation

model/common/service/move_feedback
I refactored to remove the Ref dependency from MoveFeedbackService by shifting the boardPreferencesProvider watch logic directly into the provider. MoveFeedbackService now operates as a pure class accepting a hasHapticFeedback boolean.

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