reimplement confirmation descriptions for usability
This commit is contained in:
parent
2c429b4dec
commit
27a440a568
2 changed files with 5 additions and 5 deletions
|
@ -661,7 +661,7 @@ namespace SteamGuard
|
||||||
|
|
||||||
Console.ForegroundColor = t == selected ? colorSelected : itemColor;
|
Console.ForegroundColor = t == selected ? colorSelected : itemColor;
|
||||||
|
|
||||||
Console.WriteLine($" [{t}] [{tradeActions[t]}] {trades[t].ConfType} {trades[t].Creator}");
|
Console.WriteLine($" [{t}] [{tradeActions[t]}] {trades[t].ConfType} {trades[t].Creator} {trades[t].Description}");
|
||||||
}
|
}
|
||||||
var key = Console.ReadKey();
|
var key = Console.ReadKey();
|
||||||
switch (key.Key)
|
switch (key.Key)
|
||||||
|
@ -704,15 +704,15 @@ namespace SteamGuard
|
||||||
switch (tradeActions[t])
|
switch (tradeActions[t])
|
||||||
{
|
{
|
||||||
case TradeAction.Accept:
|
case TradeAction.Accept:
|
||||||
if (Verbose) Console.Write($"Accepting {trades[t].ConfType} {trades[t].Creator}...");
|
if (Verbose) Console.Write($"Accepting {trades[t].ConfType} {trades[t].Creator} {trades[t].Description}...");
|
||||||
success = account.AcceptConfirmation(trades[t]);
|
success = account.AcceptConfirmation(trades[t]);
|
||||||
break;
|
break;
|
||||||
case TradeAction.Deny:
|
case TradeAction.Deny:
|
||||||
if (Verbose) Console.Write($"Denying {trades[t].ConfType} {trades[t].Creator}...");
|
if (Verbose) Console.Write($"Denying {trades[t].ConfType} {trades[t].Creator} {trades[t].Description}...");
|
||||||
success = account.DenyConfirmation(trades[t]);
|
success = account.DenyConfirmation(trades[t]);
|
||||||
break;
|
break;
|
||||||
case TradeAction.Ignore:
|
case TradeAction.Ignore:
|
||||||
if (Verbose) Console.Write($"Ignoring {trades[t].ConfType} {trades[t].Creator}...");
|
if (Verbose) Console.Write($"Ignoring {trades[t].ConfType} {trades[t].Creator} {trades[t].Description}...");
|
||||||
success = true;
|
success = true;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 98107316db1a8e0e789e066b4627ecd9689d80a0
|
Subproject commit 2f9f8b92cd365414196b90cae3ab25ff430a4fab
|
Loading…
Reference in a new issue