mirror of
https://github.com/Nathanwoodburn/FireWallet.git
synced 2024-11-24 08:08:14 +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.AutoSize = true;
|
||||
|
||||
JObject stats = JObject.Parse(name["stats"].ToString());
|
||||
|
||||
domainTMP.Controls.Add(domainName);
|
||||
|
||||
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(domainName);
|
||||
domainTMP.Controls.Add(expiry);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
panelDomainList.Controls.Add(domainTMP);
|
||||
i++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user