Updated packages. Migrated Avalonia UI to 12.0.
This commit is contained in:
@@ -450,7 +450,7 @@ public class PlaylistViewModel : ViewModelBase
|
||||
if (clipboard == null)
|
||||
return [];
|
||||
|
||||
string? clipboardText = await clipboard.GetTextAsync();
|
||||
string? clipboardText = await clipboard.TryGetTextAsync();
|
||||
|
||||
if (string.IsNullOrWhiteSpace(clipboardText))
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user