switching mainnet and testnet is mismatched - closes #2030 #2346
What issue have I solved?
How have I implemented/fixed it?
The solution consists in check in the settings if the network switcher is on or off and based on that at the time of logout update the settings to switch to Mainnet in case the actual network is Testnet or Custom Node.
So in other words.
How has this been tested?
Another thing: If you turn off the network switcher and reload the app the network stays the same. It is contrary to the logic described above. What should happen in that case?
I don't like the idea of this ticket in the first place, so please let @reyraa decide
Changing the network implicitly for the user/changing this network choice behaviour will make users who once enabled network switcher always have it enabled because they will not be sure which network they are connected to
Hey @Efefefef I just update the PR, I made the fix based on your comments... in other hand well yes the idea is that if there is no network switcher active then the app should be working only with Mainnet expect when you are logged, then after logout this should change to Mainnet, so in summary works like this.
Hope this help to clarify.