mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-07-03 14:06:12 +02:00
feat: show RetroAchievements logo next to integrations dropdown title
This commit is contained in:
@@ -91,4 +91,11 @@
|
||||
flex-shrink: 0;
|
||||
color: globals.$warning-color;
|
||||
}
|
||||
|
||||
&__title-logo {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
object-fit: contain;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,8 @@ import {
|
||||
SyncIcon,
|
||||
} from "@primer/octicons-react";
|
||||
|
||||
import retroAchievementsLogo from "@renderer/assets/icons/retroachievements.png";
|
||||
|
||||
import "./settings-debrid.scss";
|
||||
import "./settings-retroachievements.scss";
|
||||
|
||||
@@ -370,6 +372,11 @@ export function SettingsRetroAchievements() {
|
||||
<h3 className="settings-debrid__section-title">
|
||||
{t("retroachievements")}
|
||||
</h3>
|
||||
<img
|
||||
src={retroAchievementsLogo}
|
||||
alt=""
|
||||
className="settings-retroachievements__title-logo"
|
||||
/>
|
||||
{integration.connected &&
|
||||
(integration.retroAchievementsAccountStatus ===
|
||||
"invalid_credentials" ? (
|
||||
|
||||
Reference in New Issue
Block a user