mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +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}>
|
||||
{game.logo && (
|
||||
<img src={game.logo} width="250px" alt={game.description} />
|
||||
)}
|
||||
<p className={styles.description}>{game.description}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -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 });
|
||||
}
|
||||
});
|
||||
|
@ -232,6 +232,7 @@ export interface TrendingGame {
|
||||
uri: string;
|
||||
description: string;
|
||||
background: string;
|
||||
logo: string | null;
|
||||
}
|
||||
|
||||
export * from "./steam.types";
|
||||
|
Loading…
Reference in New Issue
Block a user