Skip to content

fix: Switch from false to true for the email sent snackbar #1741

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
Apr 3, 2025

Conversation

Matthieu-dgl
Copy link
Contributor

No description provided.

@Matthieu-dgl Matthieu-dgl self-assigned this Apr 3, 2025
Copy link

sonarqubecloud bot commented Apr 3, 2025

@Matthieu-dgl Matthieu-dgl requested a review from Copilot April 3, 2025 08:36
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request fixes the issue where the email sent snackbar was not shown by switching the boolean flag from false to true.

  • Toggle the flag in the syncDraft call so that the snackbar is displayed
  • Minor update in Mail/AppDelegate.swift to support this fix
Comments suppressed due to low confidence (1)

Mail/AppDelegate.swift:82

  • Consider adding or updating tests to verify that the snackbar is displayed as expected after this change.
draftManager.syncDraft(mailboxManager: currentMailboxManager, showSnackbar: true)

Copy link

github-actions bot commented Apr 3, 2025

Found 2 unused code occurences

Expand
Mail/Views/New Message/ComposeEditor/EditorDesktopToolbarView.swift:29:8: warning: Struct 'EditorDesktopToolbarView' is unused
Mail/Views/Thread List/DraggedEnvelopeView.swift:22:8: warning: Struct 'DraggedEnvelopeView' is unused

@Ambrdctr Ambrdctr merged commit f53c3c3 into master Apr 3, 2025
11 checks passed
@Ambrdctr Ambrdctr deleted the fix/fix-snackbar-email-sent-on-macos branch April 3, 2025 09:32
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.

2 participants