From c5f21f22bd5cdee38d9371adc5ef5ec60bcc927b 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)", }} >