Fix stuck loading indicator on safe images with no content
This commit is contained in:
parent
3f4df814ee
commit
691883dc09
1 changed files with 3 additions and 0 deletions
|
|
@ -43,6 +43,9 @@
|
|||
.If(() => Fit == ImageFit.Cover, "safe-image-fit-cover")
|
||||
.If(() => !String.IsNullOrWhiteSpace(Class), Class)
|
||||
.Build();
|
||||
|
||||
if (String.IsNullOrWhiteSpace(Source) && Media == null)
|
||||
_loading = false;
|
||||
}
|
||||
|
||||
void OnLoad()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue