This commit is contained in:
JustArchi
2020-11-28 23:18:23 +01:00
parent 97ee4eaef2
commit ba702a1dae
3 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ namespace ArchiSteamFarm {
internal static bool IsDebugBuild => false;
#endif
internal static bool IsDebugConfigured => ASF.GlobalConfig?.Debug ?? throw new ArgumentNullException(nameof(ASF.GlobalConfig));
internal static bool IsDebugConfigured => ASF.GlobalConfig?.Debug ?? throw new InvalidOperationException(nameof(ASF.GlobalConfig));
internal static bool IsUserDebugging => IsDebugBuild || IsDebugConfigured;