Increase retry limit for loading images and thumbnails

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/22/head
trivernis 3 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" <app-content-aware-image (appLoadEnd)="this.loading = false" (appLoadError)="this.loading = false"
[class.hidden]="this.loading" [class.hidden]="this.loading"
[imageSrc]="this.imageUrl" [imageSrc]="this.imageUrl"
[maxRetry]="3" [maxRetry]="10"
[retryDelay]="500" [retryDelay]="500"
decoding="sync"></app-content-aware-image> decoding="sync"></app-content-aware-image>
</app-busy-indicator> </app-busy-indicator>

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

Loading…
Cancel
Save