Skip to content

Commit

Permalink
add back retry button on deck theme
Browse files Browse the repository at this point in the history
  • Loading branch information
cbartondock committed May 6, 2024
1 parent e4e82f1 commit ef7ceec
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .todo
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Battle.net (LM)
EA Desktop (LM, EM)
Epic (LM, EM)
GOG Galaxy (LM, EM)
Itch.io (EM - missing fileLaunchOptions)
Legendary (EM)
Itch.io (EM - missing fileLaunchOptions)
UPlay (LM, EM - missing fileLaunchOptions)
UWP (LM, EM - missing fileLaunchOptions)
24 changes: 20 additions & 4 deletions src/renderer/templates/preview.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,14 @@ <h1>Add your games to Steam</h1>
>
Refresh
</div>
<div
class="btn only-emudeck only-deck"
*ngIf="image != undefined && image.loadStatus === 'failed'"
(click)="loadImage(app, imagetype)"
[title]="lang.retryDownload"
>
Retry
</div>
<div
class="btn only-emudeck only-deck"
*ngIf="image != undefined && image.loadStatus === 'done'"
Expand Down Expand Up @@ -453,12 +461,20 @@ <h1>Add your games to Steam</h1>
</div>
<div
class="btn only-emudeck only-deck"
*ngIf="!getImagePool(appimages.imagePool).retrieving"
(click)="refreshImages(app)"
[title]="lang.refreshImages"
*ngIf="image != undefined && image.loadStatus === 'failed'"
(click)="loadImage(app)"
[title]="lang.retryDownload"
>
Refresh
Retry
</div>
<div
class="btn only-emudeck only-deck"
*ngIf="!getImagePool(appimages.imagePool).retrieving"
(click)="refreshImages(app)"
[title]="lang.refreshImages"
>
Refresh
</div>
<div
class="btn only-emudeck only-deck"
*ngIf="image != undefined && image.loadStatus === 'done'"
Expand Down

0 comments on commit ef7ceec

Please sign in to comment.