Skip to content
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

Refactor notification dispatch mechanism #202

Merged
merged 9 commits into from
Jul 21, 2024
Merged

Conversation

fujidaiti
Copy link
Owner

@fujidaiti fujidaiti commented Jul 21, 2024

Fixes / Closes (optional)

Fixes #179.

Description

Moved the notification dispatch logic from SheetExtent.beginActivity() to the individual SheetActivity classes, as they have a better understanding of what kind of notification should be dispatched and when. This refactoring will implicitly fix #179, as the assertions that caused the errors reported in the issue have also been removed in this PR.

Summary (check all that apply)

  • Modified / added code
  • Modified / added tests
  • Modified / added examples
  • Modified / added others (pubspec.yaml, workflows, etc...)
  • Updated README
  • Contains breaking changes
    • Created / updated migration guide
  • Incremented version number
    • Updated CHANGELOG

@fujidaiti fujidaiti self-assigned this Jul 21, 2024
@fujidaiti fujidaiti force-pushed the refactor-notifications branch from 6273bd0 to 5efd3f1 Compare July 21, 2024 08:30
@fujidaiti fujidaiti force-pushed the refactor-notifications branch from e9c0a70 to 84e6686 Compare July 21, 2024 12:32
@fujidaiti fujidaiti marked this pull request as ready for review July 21, 2024 12:36
@fujidaiti fujidaiti merged commit 66878bf into main Jul 21, 2024
7 checks passed
@fujidaiti fujidaiti deleted the refactor-notifications branch July 21, 2024 13:02
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.

Assertion Error: type 'SheetDragStartDetails' is not a subtype of type 'SheetDragEndDetails' in type cast.
1 participant