Skip to content

Commit

Permalink
Use the correct setting
Browse files Browse the repository at this point in the history
The configuration source for the Tor setting has been changed. Instead of deriving the Tor setting from '_startupConfig.UseTor', it is now set via '_config.UseTor'. This change ensures the consistency in the UI as well.
  • Loading branch information
SuperJMN committed Jun 17, 2024
1 parent 37537da commit 5d5fd10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WalletWasabi.Fluent/Models/UI/ApplicationSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public ApplicationSettings(string persistentConfigFilePath, PersistentConfig per
: FeeDisplayUnit.Satoshis;
_runOnSystemStartup = _uiConfig.RunOnSystemStartup;
_hideOnClose = _uiConfig.HideOnClose;
_useTor = Config.ObjectToTorMode(_startupConfig.UseTor);
_useTor = Config.ObjectToTorMode(_config.UseTor);
_terminateTorOnExit = _startupConfig.TerminateTorOnExit;
_downloadNewVersion = _startupConfig.DownloadNewVersion;

Expand Down

0 comments on commit 5d5fd10

Please sign in to comment.