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 compose toolbar logic #908

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

j-f1
Copy link
Contributor

@j-f1 j-f1 commented Jan 23, 2023

This builds on top of #907, view the clean diff at d8f7ea2e7^...739fcfa.

The goal here is to remove the logic in the view model that switches over all the action button types since many of the buttons have non-basic-toggle behavior, and eliminate the use of assertionFailure and fatalError by eliminating unreachable code paths.

@j-f1 j-f1 force-pushed the compose-toolbar-inline-view-logic branch from 739fcfa to b5f7183 Compare January 31, 2023 16:25
@j-f1 j-f1 force-pushed the compose-toolbar-inline-view-logic branch from b5f7183 to 0098743 Compare March 13, 2023 13:35
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.

None yet

1 participant