From 530a89755c649bda189cb170bb74dc41a0590a59 Mon Sep 17 00:00:00 2001 From: thislight Date: Sun, 1 Dec 2024 23:28:23 +0800 Subject: [PATCH] Profile: use AppTopBar --- src/profiles/Profile.tsx | 57 ++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 31 deletions(-) diff --git a/src/profiles/Profile.tsx b/src/profiles/Profile.tsx index 5e1ad0c..6e24cbf 100644 --- a/src/profiles/Profile.tsx +++ b/src/profiles/Profile.tsx @@ -62,6 +62,7 @@ import { createSingluarItemSelection, default as ItemSelectionProvider, } from "../timelines/toots/ItemSelectionProvider"; +import AppTopBar from "~material/AppTopBar"; const Profile: Component = () => { const { pop } = useNavigator(); @@ -195,44 +196,38 @@ const Profile: Component = () => { return ( - + + + - <IconButton color="inherit" onClick={[pop, 1]} aria-label="Close"> - <Close /> - </IconButton> - <Title - class="Profile__page-title" - style={{ - visibility: scrolledPastBanner() ? undefined : "hidden", - }} - innerHTML={displayName()} - > + innerHTML={displayName()} + > - - - - - + + + + } class="Profile" >