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

Prevents setting showInMenuBar without actually changing its value #622

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

diegoreymendez
Copy link
Contributor

@diegoreymendez diegoreymendez commented Jan 10, 2024

Task/Issue URL: https://app.asana.com/0/0/1206318102194993/f

iOS PR: duckduckgo/iOS#2317
macOS PR: duckduckgo/macos-browser#2043
What kind of version bump will this require?: Patch

Description

Title has it... we just prevent triggering change notifications for showInMenuBar by setting its value without changing it in user defaults.

Testing

Test using the macOS PR.


Internal references:

Software Engineering Expectations
Technical Design Template

@diegoreymendez diegoreymendez self-assigned this Jan 10, 2024
@diegoreymendez diegoreymendez changed the title Prevents setting the value of showInMenuBar without changing it in VPNSettings. Prevents setting showInMenuBar without actually changing its value Jan 10, 2024
@diegoreymendez diegoreymendez marked this pull request as ready for review January 12, 2024 13:57
@diegoreymendez diegoreymendez merged commit 202dc05 into main Jan 16, 2024
5 checks passed
@diegoreymendez diegoreymendez deleted the diego/published-vpn-settings branch January 16, 2024 09:26
diegoreymendez added a commit to duckduckgo/macos-browser that referenced this pull request Jan 16, 2024
Task/Issue URL: https://app.asana.com/0/0/1206318102194992/f

BSK PR: duckduckgo/BrowserServicesKit#622
iOS PR: duckduckgo/iOS#2317

## Description

This PR brings some adjustments to recent VPN user control improvements.
- If you hide the VPN menu app icon when the browser is showing VPN
preferences, the VPN preferences "Show VPN in Menu Bar" will be updated
dynamically.
- The copy shown when right clicking on the VPN icon in the browser's
navigation bar was adjusted to include "shortcut" at the end, like for
other navigation bar buttons.
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