Archived
1
0

Regions and languagaes improved. Video cards duration display fixed. Added settings updating system

Related Work Items: #236
This commit is contained in:
Michael Gordeev
2018-12-31 00:52:16 +03:00
parent ead4f76ded
commit 7f4eaa0c7a
8 changed files with 95 additions and 32 deletions
+1 -4
View File
@@ -65,10 +65,7 @@ namespace FoxTube.Controls
else
{
views.Text = $"{item.Statistics.ViewCount:0,0} views";
string dur = string.Empty;
try { XmlConvert.ToTimeSpan(item.ContentDetails.Duration); }
catch { }
info.Text = $"{dur} | {Methods.GetAgo(item.Snippet.PublishedAt.Value)}";
info.Text = $"{item.ContentDetails.Duration.GetDuration()} | {Methods.GetAgo(item.Snippet.PublishedAt.Value)}";
embed = false;
}