Improve background keys redeemer verbosity

This commit is contained in:
JustArchi
2018-03-08 10:43:39 +01:00
parent 4ba026a91f
commit 7957920683
3 changed files with 28 additions and 33 deletions

View File

@@ -111,23 +111,6 @@ namespace ArchiSteamFarm {
}
}
internal async Task AddGameToRedeemInBackground(string key, string name) {
if (string.IsNullOrEmpty(key) || string.IsNullOrEmpty(name)) {
ASF.ArchiLogger.LogNullError(nameof(key) + " || " + nameof(name));
return;
}
lock (GamesToRedeemInBackground) {
if (GamesToRedeemInBackground.Contains(key)) {
return;
}
GamesToRedeemInBackground.Add(key, name);
}
await Save().ConfigureAwait(false);
}
internal async Task AddIdlingBlacklistedAppIDs(IReadOnlyCollection<uint> appIDs) {
if ((appIDs == null) || (appIDs.Count == 0)) {
ASF.ArchiLogger.LogNullError(nameof(appIDs));