Skip to content

Commit 18d6ca6

Browse files
authored
Merge branch 'main' into nb-translation
2 parents c7afcff + a3bdfe7 commit 18d6ca6

File tree

5 files changed

+9
-12
lines changed

5 files changed

+9
-12
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,11 @@ body:
3333
attributes:
3434
label: Additional information and data
3535
description: |
36-
If possible, add screenshots and upload your logs file here.
36+
Add screenshots and upload your logs file here.
3737
Logs location on Windows: "%appdata%/hydra"
3838
Logs location on Linux: "~/.config/hydra/"
3939
validations:
40-
required: false
41-
- type: textarea
42-
id: screenshots
43-
attributes:
44-
label: Screenshots
45-
description: If possible, add screenshots to help explain your problem.
46-
validations:
47-
required: false
40+
required: true
4841
- type: input
4942
id: OS
5043
attributes:

build/installer.nsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
${ifNot} ${isUpdated}
33
RMDir /r "$APPDATA\${APP_PACKAGE_NAME}"
44
RMDir /r "$APPDATA\hydra"
5+
RMDir /r "$LOCALAPPDATA\hydralauncher-updater"
56
${endIf}
67
!macroend

src/main/services/hydra-api.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ export class HydraApi {
5151
expirationTimestamp: tokenExpirationTimestamp,
5252
};
5353

54-
logger.log("Sign in received", this.userAuth);
54+
logger.log(
55+
"Sign in received. Token expiration timestamp:",
56+
tokenExpirationTimestamp
57+
);
5558

5659
await userAuthRepository.upsert(
5760
{

src/renderer/src/pages/game-details/gallery-slider/gallery-slider.css.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const gallerySliderMedia = style({
1919
flexGrow: "0",
2020
transition: "translate 0.3s ease-in-out",
2121
borderRadius: "4px",
22+
alignSelf: "center",
2223
});
2324

2425
export const gallerySliderAnimationContainer = style({
@@ -60,7 +61,6 @@ export const mediaPreviewButton = recipe({
6061
base: {
6162
cursor: "pointer",
6263
width: "20%",
63-
height: "20%",
6464
display: "block",
6565
flexShrink: "0",
6666
flexGrow: "0",
@@ -84,7 +84,6 @@ export const mediaPreviewButton = recipe({
8484

8585
export const mediaPreview = style({
8686
width: "100%",
87-
height: "100%",
8887
display: "flex",
8988
});
9089

src/renderer/src/pages/game-details/gallery-slider/gallery-slider.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export function GallerySlider() {
128128
src={image.path_full}
129129
style={{ translate: `${-100 * mediaIndex}%` }}
130130
alt={t("screenshot", { number: i + 1 })}
131+
loading="lazy"
131132
/>
132133
))}
133134

0 commit comments

Comments
 (0)