mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-17 07:13:09 +01:00
Refactor image set largest property
I can't believe I did not see that...
This commit is contained in:
parent
c8612f8510
commit
2ee49a61a3
@ -17,10 +17,7 @@ public Uri Largest
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Small == null) return null;
|
||||
if (Medium == null) return Small;
|
||||
if (Large == null) return Medium;
|
||||
return ExtraLarge != null ? (Mega ?? ExtraLarge) : Large;
|
||||
return Mega ?? ExtraLarge ?? Large ?? Medium ?? Small;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user