Prediction UI: show cost and payout instead of share counts
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
723724aa4b
commit
ca3230e7d2
4 files changed
+12
-11
No files matched your search
@@ -376,7 +376,7 @@ namespace Decentralized
|
||||
l.AddButton(m.Id == _predPick ? "[" + q + "]" : q, () => { _predPick = mk.Id; _message = null; Open(); });
|
||||
l.End();
|
||||
string state = m.IsOpen(day) ? "" : " " + L.T("predict.closed");
|
||||
l.AddLabel(L.T("predict.row", (m.PYes * 100).ToString("0"), ((1 - m.PYes) * 100).ToString("0")) + (all.Count > 0 ? " " + L.T("predict.held", L.T(all[0].Yes ? "predict.yes" : "predict.no"), Fmt.Num(all.Sum(x => x.Shares))) : "") + state);
|
||||
l.AddLabel(L.T("predict.row", (m.PYes * 100).ToString("0"), ((1 - m.PYes) * 100).ToString("0")) + (all.Count > 0 ? " " + L.T("predict.held", L.T(all[0].Yes ? "predict.yes" : "predict.no"), Fmt.Num(all.Sum(x => x.Cost)), Fmt.Num(all.Sum(x => x.Shares))) : "") + state);
|
||||
}
|
||||
if (bk.Recent.Count > 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user