Increase retry limit for loading images and thumbnails

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/22/head
trivernis 2 years ago
parent 3c8afd4946
commit 97846c86fc
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -14,7 +14,7 @@
<app-content-aware-image (appLoadEnd)="this.loading = false" (appLoadError)="this.loading = false"
[class.hidden]="this.loading"
[imageSrc]="this.imageUrl"
[maxRetry]="3"
[maxRetry]="10"
[retryDelay]="500"
decoding="sync"></app-content-aware-image>
</app-busy-indicator>

@ -1,7 +1,7 @@
<app-content-aware-image (appLoadEnd)="this.loadEnd.emit()" (appLoadError)="this.onImageLoadError()"
*ngIf="this.thumbnailSupported && this.thumbUrl"
[imageSrc]="this.thumbUrl"
[maxRetry]="5" [retryDelay]="100"
[maxRetry]="10" [retryDelay]="100"
borderRadius="0.25em"></app-content-aware-image>
<div *ngIf="this.thumbnailSupported && this.thumbUrl" class="file-icon-overlay">
<ng-icon *ngIf="fileType === 'video'" name="mat-movie"></ng-icon>

Loading…
Cancel
Save