[desktop] Force <img> elements to use Angular HttpClient for image downloads (bypassing WebView)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<h1 class="flex flex-row gap-2 items-center">
|
||||
<img
|
||||
[src]="iconObjectURL"
|
||||
[src]="iconObjectURL | httpImgSrc | async"
|
||||
*ngIf="imageError === null && !!iconData"
|
||||
class="w-8 h-8 rounded-full border border-gray-400"
|
||||
/>
|
||||
@@ -85,7 +85,7 @@
|
||||
</div>
|
||||
|
||||
<img
|
||||
[src]="iconObjectURL"
|
||||
[src]="iconObjectURL | httpImgSrc | async"
|
||||
*ngIf="imageError === null && !!iconData"
|
||||
class="w-12 h-12 rounded-full border border-gray-400"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user