Profile: fix toolbar color as scrolled by banner

This commit is contained in:
thislight 2024-10-18 22:37:19 +08:00
parent 7e120fba2d
commit c5f21f22bd

View file

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