Добавлен вывод названия трека и обложки в плеере
This commit is contained in:
@@ -14,7 +14,7 @@ public class PlayerStorage
|
||||
await _js.InvokeVoidAsync("localStorage.setItem", VolumeKey, volume);
|
||||
}
|
||||
|
||||
public async Task<double> GetVolumeAsync()
|
||||
public async Task<double?> GetVolumeAsync()
|
||||
{
|
||||
var volume = await _js.InvokeAsync<string>("localStorage.getItem", VolumeKey);
|
||||
|
||||
@@ -25,6 +25,6 @@ public class PlayerStorage
|
||||
return result;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user