mirror of
https://github.com/Nathanwoodburn/FireWallet.git
synced 2024-11-13 10:48:15 +11:00
main: Fixed names page having errors when a domain is in auction
This commit is contained in:
parent
21ef8b2139
commit
145047b614
@ -1468,17 +1468,23 @@ namespace FireWallet
|
|||||||
domainName.Left = 5;
|
domainName.Left = 5;
|
||||||
domainName.AutoSize = true;
|
domainName.AutoSize = true;
|
||||||
|
|
||||||
JObject stats = JObject.Parse(name["stats"].ToString());
|
|
||||||
|
|
||||||
Label expiry = new Label();
|
|
||||||
expiry.Text = "Expires: " + stats["daysUntilExpire"].ToString() + " days";
|
|
||||||
expiry.Top = 5;
|
|
||||||
expiry.AutoSize = true;
|
|
||||||
expiry.Left = domainTMP.Width - expiry.Width - 100;
|
|
||||||
|
|
||||||
|
|
||||||
domainTMP.Controls.Add(domainName);
|
domainTMP.Controls.Add(domainName);
|
||||||
domainTMP.Controls.Add(expiry);
|
|
||||||
|
Label expiry = new Label();
|
||||||
|
JObject stats = JObject.Parse(name["stats"].ToString());
|
||||||
|
if (stats.ContainsKey("daysUntilExpire"))
|
||||||
|
{
|
||||||
|
expiry.Text = "Expires: " + stats["daysUntilExpire"].ToString() + " days";
|
||||||
|
expiry.Top = 5;
|
||||||
|
expiry.AutoSize = true;
|
||||||
|
expiry.Left = domainTMP.Width - expiry.Width - 100;
|
||||||
|
domainTMP.Controls.Add(expiry);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
panelDomainList.Controls.Add(domainTMP);
|
panelDomainList.Controls.Add(domainTMP);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user