From 29b8b5307e5f04e8b3b9a3d73f921ab4bbe44d60 Mon Sep 17 00:00:00 2001 From: thislight Date: Fri, 18 Oct 2024 22:37:19 +0800 Subject: [PATCH] Profile: fix toolbar color as scrolled by banner --- src/profiles/Profile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/profiles/Profile.tsx b/src/profiles/Profile.tsx index fff795d..cdea9d5 100644 --- a/src/profiles/Profile.tsx +++ b/src/profiles/Profile.tsx @@ -126,7 +126,7 @@ const Profile: Component = () => { variant="dense" sx={{ display: "flex", - color: bannerSampledColors()?.text, + color: scrolledPastBanner() ? undefined : bannerSampledColors()?.text, paddingTop: "var(--safe-area-inset-top)", }} >