From 5d5fd10197c9cb7ffa87e4726a51bdc479a6a917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Manuel=20NIeto=20S=C3=A1nchez=20=28SuperJMN=29?= Date: Mon, 17 Jun 2024 12:44:03 +0200 Subject: [PATCH] Use the correct setting 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. --- WalletWasabi.Fluent/Models/UI/ApplicationSettings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WalletWasabi.Fluent/Models/UI/ApplicationSettings.cs b/WalletWasabi.Fluent/Models/UI/ApplicationSettings.cs index 00e6be7ddf3..8dd50f1f27e 100644 --- a/WalletWasabi.Fluent/Models/UI/ApplicationSettings.cs +++ b/WalletWasabi.Fluent/Models/UI/ApplicationSettings.cs @@ -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;