1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-21 15:15:48 +02:00

Fix compile errors in Release configuration

This commit is contained in:
chylex 2022-01-08 14:06:59 +01:00
parent b915488651
commit ec7827df24
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548
2 changed files with 2 additions and 3 deletions
Application
Browser

View File

@ -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
}

View File

@ -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)) {