Merge branch 'feature/profile-redesign' of github.com:hydralauncher/hydra into feature/profile-redesign

This commit is contained in:
Chubby Granny Chaser 2024-09-14 18:11:52 +01:00
commit 00528b6ca1
No known key found for this signature in database
3 changed files with 8 additions and 1 deletions

View File

@ -48,6 +48,9 @@ export function Hero() {
/>
<div className={styles.content}>
{game.logo && (
<img src={game.logo} width="250px" alt={game.description} />
)}
<p className={styles.description}>{game.description}</p>
</div>
</div>

View File

@ -43,7 +43,10 @@ i18n
})
.then(async () => {
const userPreferences = await window.electron.getUserPreferences();
if (!userPreferences?.language) {
if (userPreferences?.language) {
i18n.changeLanguage(userPreferences.language);
} else {
window.electron.updateUserPreferences({ language: i18n.language });
}
});

View File

@ -232,6 +232,7 @@ export interface TrendingGame {
uri: string;
description: string;
background: string;
logo: string | null;
}
export * from "./steam.types";