Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR enhances the desktop system tray VPN menu by making it reactive to routing-mode and server-location changes, and by adding new tray controls for “Smart Location” and routing mode selection.
Changes:
- Add dynamic tray UI updates driven by
serverLocationProviderandappSettingProvider(routing mode). - Add “Smart Location” and a “Routing Mode” submenu to the tray menu, plus connected-location display (flag + name).
- Refactor macOS system extension gating into a reusable helper.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| macos/Podfile.lock | Updates CocoaPods checksums due to dependency/plugin changes. |
| lib/features/system_tray/provider/system_tray_notifier.dart | Implements reactive tray updates, new menu items/submenus, and flag/location display logic. |
| lib/features/system_tray/provider/system_tray_notifier.g.dart | Regenerates Riverpod provider hash after notifier changes. |
| lib/features/home/provider/home_notifier.g.dart | Regenerates Riverpod provider hash after upstream changes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
atavism
reviewed
Feb 19, 2026
atavism
approved these changes
Feb 19, 2026
atavism
added a commit
that referenced
this pull request
Feb 20, 2026
* update tray menu with new features * code review updates and use pubspec build number always. * update comment --------- Co-authored-by: atavism <atavism@users.noreply.github.com>
This file contains hidden or 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
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.
This pull request makes significant improvements to the system tray functionality, focusing on enhancing the VPN tray menu experience. The changes introduce dynamic updates based on user state, add new menu options, and refactor code for clarity and maintainability.
System Tray Menu Enhancements
State Management and Reactivity
Code Organization and Utility