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

Minor code cleanup to new UI #2825

Closed
wants to merge 1 commit into from
Closed

Minor code cleanup to new UI #2825

wants to merge 1 commit into from

Conversation

parlough
Copy link
Member

@parlough parlough commented Feb 12, 2024

  • Avoids dynamic when possible
  • Avoids non-null assertions in a few cases
  • Uses more specific Uri constructors to avoid Uri.parse
  • Avoids record positional field access
  • Uses switch expressions in a few places where it works well
  • Enables/uses const in a few more spots
  • Some other minor cleanup

@parlough parlough changed the title Minor cleanup to new UI Minor code cleanup to new UI Feb 12, 2024
@parlough parlough closed this Feb 13, 2024
@parlough parlough deleted the misc/sketchpad-cleanup branch February 13, 2024 23:06
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