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

feat: Advertise NSUserActivity #845

Merged
merged 2 commits into from
Jul 12, 2023
Merged

Conversation

PhilippeWeidmann
Copy link
Member

@PhilippeWeidmann PhilippeWeidmann commented Jun 30, 2023

For now we only support navigating to correct mailbox and folder as we don't share thread ids.
This only works if the connected account on the web is the same as on device.

@PhilippeWeidmann PhilippeWeidmann requested a review from a team as a code owner June 30, 2023 13:06
@PhilippeWeidmann PhilippeWeidmann marked this pull request as draft July 10, 2023 14:02
@PhilippeWeidmann PhilippeWeidmann marked this pull request as ready for review July 11, 2023 13:00
@sonarcloud
Copy link

sonarcloud bot commented Jul 11, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

public func setCurrentActivity(
_ activity: NSUserActivity = NSUserActivity(activityType: NSUserActivityTypeBrowsingWeb),
mailbox: Mailbox,
folder: Folder?
Copy link
Member

Choose a reason for hiding this comment

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

Is it ok to have a function that accepts an optional but checks directly that folder is not an optional?

@valentinperignon valentinperignon merged commit 1b604aa into master Jul 12, 2023
6 checks passed
@valentinperignon valentinperignon deleted the user-activity-uikit branch July 12, 2023 04:59
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

2 participants