[desktop] Force <img> elements to use Angular HttpClient for image downloads (bypassing WebView)

This commit is contained in:
Alexandr Stelnykovych
2025-04-17 17:16:38 +03:00
parent d11bc077cf
commit 76289610ee
5 changed files with 9 additions and 7 deletions

View File

@@ -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"
/>