mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 13:56:16 +00:00
feat(profile): add hasCompletedWrapped2025 flag to UserProfile and update ProfileHero rendering logic
This commit is contained in:
@@ -389,7 +389,7 @@ export function ProfileHero() {
|
||||
background: !backgroundImage ? heroBackground : undefined,
|
||||
}}
|
||||
>
|
||||
{userProfile && (
|
||||
{userProfile?.hasCompletedWrapped2025 && (
|
||||
<div className="profile-hero__left-actions">
|
||||
<Button
|
||||
theme="outline"
|
||||
|
||||
@@ -209,6 +209,7 @@ export interface UserProfile {
|
||||
backupsPerGameLimit: number;
|
||||
};
|
||||
badges: string[];
|
||||
hasCompletedWrapped2025: boolean;
|
||||
}
|
||||
|
||||
export interface UpdateProfileRequest {
|
||||
|
||||
Reference in New Issue
Block a user