From ec7827df245b58e8bb223e2cd4b061e7a4e22a8b Mon Sep 17 00:00:00 2001
From: chylex <contact@chylex.com>
Date: Sat, 8 Jan 2022 14:06:59 +0100
Subject: [PATCH] Fix compile errors in Release configuration

---
 Application/Logger.cs  | 2 +-
 Browser/FormBrowser.cs | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Application/Logger.cs b/Application/Logger.cs
index 9ffa48f0..687949c8 100644
--- a/Application/Logger.cs
+++ b/Application/Logger.cs
@@ -19,7 +19,7 @@ bool IAppLogger.Debug(string message) {
 			#if DEBUG
 			return Log("DEBUG", message);
 			#else
-			return Arguments.HasFlag(Arguments.ArgLogging) && Log(message);
+			return Configuration.Arguments.HasFlag(Configuration.Arguments.ArgLogging) && Log("DEBUG", message);
 			#endif
 		}
 
diff --git a/Browser/FormBrowser.cs b/Browser/FormBrowser.cs
index 1ce62f5a..f485dd06 100644
--- a/Browser/FormBrowser.cs
+++ b/Browser/FormBrowser.cs
@@ -14,7 +14,6 @@
 using TweetDuck.Dialogs;
 using TweetDuck.Dialogs.Settings;
 using TweetDuck.Management;
-using TweetDuck.Resources;
 using TweetDuck.Updates;
 using TweetDuck.Utils;
 using TweetLib.Core;
@@ -345,7 +344,7 @@ public void ResumeNotification() {
 
 		public void ReloadToTweetDeck() {
 			#if DEBUG
-			ResourceHotSwap.Run();
+			Resources.ResourceHotSwap.Run();
 			resourceProvider.ClearCache();
 			#else
 			if (ModifierKeys.HasFlag(Keys.Shift)) {