-
Notifications
You must be signed in to change notification settings - Fork 11
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
Disable directory download #2585
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alessandroboron
approved these changes
Apr 10, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fix works as expected!
Just a couple of suggestions:
- I would probably move this code in a function that returns a bool to improve readability and reduce complexity of
decidePolicy(for:
method. - I would add tests to make sure we won’t introduce a regression in the future.
I noticed the tests failed to compile on CI but compiled locally so maybe jus try to re-run the job.
samsymons
added a commit
that referenced
this pull request
Apr 12, 2024
# By Dax the Duck (10) and others # Via GitHub (6) and others * main: (40 commits) Bump version to 1.83.0 (160) macOS VPN: Ask users to reboot if system extension was not uninstalled (#2603) macOS VPN: Ask users to reboot if system extension was not uninstalled (#2603) Fix popover not displayed reliably when VPN shortcut is unpinned (#2606) Automatically mark / close stale PRs (#2596) Update copy for DBP open button (#2586) Bump version to 1.83.0 (159) [Release PR] Fix lottie high Windowserver load (#2598) Bump version to 1.83.0 (158) BSK release 133.1.0 (#2597) Fix VPN bug: Nearest city breaks register requests (#2589) Fix lottie high Windowserver load (#2595) drop Downloads storyboard (#2556) Disable directory download (#2585) Add supported document types (#2581) Allow choosing downloads location in App Store builds (#2532) Fix Open Downloads not working (#2576) Update Privacy Dashboard URL on navigation commit (#2583) Percent-decode download filenames (#2584) Bump version to 1.83.0 (157) ... # Conflicts: # DuckDuckGo.xcodeproj/project.pbxproj # DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Task/Issue URL: https://app.asana.com/0/1199230911884351/1201043708349615/f
Description:
Steps to test this PR:
Internal references:
Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation