Fix compile error
This commit is contained in:
parent
0a3a6f465c
commit
d81fcabd28
@ -43,7 +43,8 @@ public partial class DownloadMultipleSetupViewModel(
|
||||
[Container.Mp4, Container.WebM, Container.Mp3, new("ogg")];
|
||||
|
||||
public IReadOnlyList<VideoQualityPreference> AvailableVideoQualityPreferences { get; } =
|
||||
Enum.GetValues<VideoQualityPreference>().Reverse().ToArray();
|
||||
// Without .AsEnumerable(), the below line throws a compile-time error starting with .NET SDK v9.0.200
|
||||
Enum.GetValues<VideoQualityPreference>().AsEnumerable().Reverse().ToArray();
|
||||
|
||||
[RelayCommand]
|
||||
private void Initialize()
|
||||
|
Loading…
x
Reference in New Issue
Block a user