Use .NET  naming conventions.
MODIFY
WalletWasabi.Gui/Controls/MultiTextBox.cs
WalletWasabi.Gui/Controls/MultiTextBox.cs
@@ -198,7 +198,7 @@ namespace WalletWasabi.Gui.Controls
try
{
var eventArgs = eventPattern?.EventArgs as PointerPressedEventArgs;
- var uiConfig = Application.Current.Resources[Global.UIConfigResourceKey] as UiConfig;
+ var uiConfig = Application.Current.Resources[Global.UiConfigResourceKey] as UiConfig;
if (uiConfig?.Autocopy is true && eventArgs?.MouseButton == MouseButton.Left)
{
if (CopyOnClick)

MODIFY
WalletWasabi.Gui/Converters/LurkingWifeModeStringConverter.cs
WalletWasabi.Gui/Converters/LurkingWifeModeStringConverter.cs
@@ -12,7 +12,7 @@ namespace WalletWasabi.Gui.Converters
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
- var uiConfig = (UiConfig)Application.Current.Resources[Global.UIConfigResourceKey];
+ var uiConfig = (UiConfig)Application.Current.Resources[Global.UiConfigResourceKey];
if (uiConfig.LurkingWifeMode is true)
{
int len = 10;

MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -33,9 +33,9 @@ namespace WalletWasabi.Gui
{
public class Global
{
- public static string GlobalResourceKey = "Wasabi.UI.Global";
- public static string ConfigResourceKey = "Wasabi.UI.Config";
- public static string UIConfigResourceKey = "Wasabi.UI.UIConfig";
+ public static string GlobalResourceKey = "Wasabi.Ui.Global";
+ public static string ConfigResourceKey = "Wasabi.Ui.Config";
+ public static string UiConfigResourceKey = "Wasabi.Ui.UiConfig";
public static Global Instance { get; } = new Global();
public string DataDir { get; }
public string TorLogsFile { get; }

MODIFY
WalletWasabi.Gui/MainWindow.xaml.cs
WalletWasabi.Gui/MainWindow.xaml.cs
@@ -54,7 +54,7 @@ namespace WalletWasabi.Gui
return;
Application.Current.Resources.AddOrReplace(Global.GlobalResourceKey, Global.Instance);
Application.Current.Resources.AddOrReplace(Global.ConfigResourceKey, Global.Instance.Config);
- Application.Current.Resources.AddOrReplace(Global.UIConfigResourceKey, Global.Instance.UiConfig);
+ Application.Current.Resources.AddOrReplace(Global.UiConfigResourceKey, Global.Instance.UiConfig);
}
private int _closingState;
@@ -170,7 +170,7 @@ namespace WalletWasabi.Gui
var uiConfig = new UiConfig(uiConfigFilePath);
await uiConfig.LoadOrCreateDefaultFileAsync();
Global.Instance.InitializeUiConfig(uiConfig);
- Application.Current.Resources.AddOrReplace(Global.UIConfigResourceKey, Global.Instance.UiConfig);
+ Application.Current.Resources.AddOrReplace(Global.UiConfigResourceKey, Global.Instance.UiConfig);
Logging.Logger.LogInfo<UiConfig>("UiConfig is successfully initialized.");
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))

Use .NET  naming conventions.