Archived
1
0

History (local)

This commit is contained in:
Michael Gordeev
2018-11-09 22:27:51 +03:00
parent 4d13ea1226
commit 1a6447a4aa
9 changed files with 100 additions and 56 deletions
+2 -6
View File
@@ -82,12 +82,8 @@ namespace FoxTube.Controls
}
catch { }
foreach(PlaylistItem i in SecretsVault.UserHistory)
if (i.Snippet.ResourceId.VideoId == id)
{
watched.Visibility = Visibility.Visible;
break;
}
if(SecretsVault.UserHistory.Contains(videoId))
watched.Visibility = Visibility.Visible;
}
public async void Button_Click(object sender, RoutedEventArgs e)