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:
parent
b915488651
commit
ec7827df24
@ -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
|
||||
}
|
||||
|
||||
|
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user