mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 08:43:48 +03:00
Merge branch 'feature/profile-redesign' of github.com:hydralauncher/hydra into feature/profile-redesign
This commit is contained in:
commit
00528b6ca1
@ -48,6 +48,9 @@ export function Hero() {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<div className={styles.content}>
|
<div className={styles.content}>
|
||||||
|
{game.logo && (
|
||||||
|
<img src={game.logo} width="250px" alt={game.description} />
|
||||||
|
)}
|
||||||
<p className={styles.description}>{game.description}</p>
|
<p className={styles.description}>{game.description}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -43,7 +43,10 @@ i18n
|
|||||||
})
|
})
|
||||||
.then(async () => {
|
.then(async () => {
|
||||||
const userPreferences = await window.electron.getUserPreferences();
|
const userPreferences = await window.electron.getUserPreferences();
|
||||||
if (!userPreferences?.language) {
|
|
||||||
|
if (userPreferences?.language) {
|
||||||
|
i18n.changeLanguage(userPreferences.language);
|
||||||
|
} else {
|
||||||
window.electron.updateUserPreferences({ language: i18n.language });
|
window.electron.updateUserPreferences({ language: i18n.language });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -232,6 +232,7 @@ export interface TrendingGame {
|
|||||||
uri: string;
|
uri: string;
|
||||||
description: string;
|
description: string;
|
||||||
background: string;
|
background: string;
|
||||||
|
logo: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export * from "./steam.types";
|
export * from "./steam.types";
|
||||||
|
Loading…
Reference in New Issue
Block a user