mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Merge null/pattern checks into complex pattern.
This commit is contained in:
@@ -99,8 +99,7 @@ public sealed class CompactDiscInfoViewModel : ViewModelBase
|
||||
if(!string.IsNullOrEmpty(mcn))
|
||||
McnText = mcn;
|
||||
|
||||
if(isrcs != null &&
|
||||
isrcs.Count > 0)
|
||||
if(isrcs is { Count: > 0 })
|
||||
foreach(KeyValuePair<byte, string> isrc in isrcs)
|
||||
IsrcList.Add(new IsrcModel
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user