Добавлена передача параметров в плеер

This commit is contained in:
FrigaT
2026-04-14 22:53:30 +03:00
parent 6ae49faf15
commit abf1906173
8 changed files with 27 additions and 10 deletions

View File

@@ -80,7 +80,14 @@
private async Task ToggleFavorite()
{
if (!_isAuthenticated || Playlist == null) return;
if (Playlist == null) return;
if (!_isAuthenticated)
{
Snackbar.Add("Добавление в избранное только авторизованным пользователям", Severity.Warning);
return;
}
_favoriteLoading = true;
try
{