diff --git a/DownKyi/ViewModels/ViewVideoDetailViewModel.cs b/DownKyi/ViewModels/ViewVideoDetailViewModel.cs index f1bab8d..b9a4b19 100644 --- a/DownKyi/ViewModels/ViewVideoDetailViewModel.cs +++ b/DownKyi/ViewModels/ViewVideoDetailViewModel.cs @@ -591,10 +591,17 @@ namespace DownKyi.ViewModels ZoneAttr zone = zoneList.Find(it => it.Id == VideoInfoView.TypeId); if (zone != null) { - ZoneAttr zoneParent = zoneList.Find(it => it.Id == zone.ParentId); - if (zoneParent != null) + if (zone.ParentId == 0) { - zoneId = zoneParent.Id; + zoneId = zone.Id; + } + else + { + ZoneAttr zoneParent = zoneList.Find(it => it.Id == zone.ParentId); + if (zoneParent != null) + { + zoneId = zoneParent.Id; + } } } diff --git a/DownKyi/Views/DownloadManager/ViewDownloading.xaml b/DownKyi/Views/DownloadManager/ViewDownloading.xaml index 20e60b8..6d65d4e 100644 --- a/DownKyi/Views/DownloadManager/ViewDownloading.xaml +++ b/DownKyi/Views/DownloadManager/ViewDownloading.xaml @@ -42,8 +42,9 @@ TextTrimming="CharacterEllipsis" ToolTip="{Binding MainTitle}"> - + +