Skip to content

Conversation

@meenbeese
Copy link
Contributor

This PR replaces direct method calls for starting/stopping Tor and VPN, refreshing menu, and sending Newnym signal with event-based triggers in ConnectViewModel. This improves separation of concerns and centralizes UI event handling, making the codebase more maintainable and testable.

Tested on Pixel 8 API 35.

@syphyr
Copy link
Contributor

syphyr commented Sep 30, 2025

I've been testing this for a few weeks without any issues.

@syphyr
Copy link
Contributor

syphyr commented Oct 1, 2025

I just noticed that when these changes are applied, then I have to select the stop button twice before tor will disconnect.

@meenbeese
Copy link
Contributor Author

I just noticed that when these changes are applied, then I have to select the stop button twice before tor will disconnect.

Tapping on the stop button does take a bit of time, but I can get it to work without tapping twice.

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