From dc89cd0887d9db884168a9753bac3c75f4798851 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Wed, 30 Sep 2026 18:58:02 +0200 Subject: [PATCH] Remove change of sponsor logo on about page --- .../app/pages/about/overview/about-overview-page.component.ts | 4 ---- .../src/app/pages/about/overview/about-overview-page.html | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/client/src/app/pages/about/overview/about-overview-page.component.ts b/apps/client/src/app/pages/about/overview/about-overview-page.component.ts index 39041f2c56..5af3c48ecc 100644 --- a/apps/client/src/app/pages/about/overview/about-overview-page.component.ts +++ b/apps/client/src/app/pages/about/overview/about-overview-page.component.ts @@ -1,5 +1,4 @@ import { UserService } from '@ghostfolio/client/services/user/user.service'; -import { isDarkColorScheme } from '@ghostfolio/common/helper'; import { User } from '@ghostfolio/common/interfaces'; import { hasPermission, permissions } from '@ghostfolio/common/permissions'; import { publicRoutes } from '@ghostfolio/common/routes/routes'; @@ -37,7 +36,6 @@ import { export class GfAboutOverviewPageComponent implements OnInit { public hasPermissionForStatistics: boolean; public hasPermissionForSubscription: boolean; - public isDarkTheme = isDarkColorScheme(); public isLoggedIn: boolean; public routerLinkBlog = publicRoutes.blog.routerLink; public routerLinkFaq = publicRoutes.faq.routerLink; @@ -74,8 +72,6 @@ export class GfAboutOverviewPageComponent implements OnInit { this.user = state.user; } - this.isDarkTheme = isDarkColorScheme(this.user?.settings?.colorScheme); - this.changeDetectorRef.markForCheck(); }); } diff --git a/apps/client/src/app/pages/about/overview/about-overview-page.html b/apps/client/src/app/pages/about/overview/about-overview-page.html index d553f5976a..6e0b0323da 100644 --- a/apps/client/src/app/pages/about/overview/about-overview-page.html +++ b/apps/client/src/app/pages/about/overview/about-overview-page.html @@ -221,7 +221,7 @@ alt="TestMu AI Logo" height="32" [src]=" - isDarkTheme + user?.settings?.colorScheme === 'DARK' ? '../assets/images/sponsors/logo-testmu-light.svg' : '../assets/images/sponsors/logo-testmu-dark.svg' "