vitorpamplona / amethyst

Nostr client for Android
MIT License
1.17k stars 158 forks source link

1037 tor setting reset to off after switching away #1040

Closed davotoula closed 2 months ago

davotoula commented 2 months ago

The changed proxy state wasn't being saved in account settings and thus app restarted with tor disabled.

I changed the logic of saving proxy state from "changed port AND changed proxy state" to "changed port OR changed proxy state".

I also noticed the orbot option had been removed from login screen. I assume by a single misplaced if bracket but the diff looks bigger due to white spaces changes.

Before tor_not_visible

After tor_visible

1037