From 59c7a5c588a2aff218502d4ebf91ae5b7a90f426 Mon Sep 17 00:00:00 2001 From: thislight Date: Fri, 27 Dec 2024 22:36:35 +0800 Subject: [PATCH] Home: use AppTopBar --- src/timelines/Home.tsx | 63 +++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 34 deletions(-) diff --git a/src/timelines/Home.tsx b/src/timelines/Home.tsx index 99e4fd1..5b413ce 100644 --- a/src/timelines/Home.tsx +++ b/src/timelines/Home.tsx @@ -31,6 +31,7 @@ import { createSingluarItemSelection, default as ItemSelectionProvider, } from "./toots/ItemSelectionProvider"; +import AppTopBar from "~material/AppTopBar"; const Home: ParentComponent = (props) => { let panelList: HTMLDivElement; @@ -165,40 +166,34 @@ const Home: ParentComponent = (props) => { <> - - - - Home - - - Trending - - - Public - - - - - $settings.setKey( - "prefetchTootsDisabled", - !$settings.get().prefetchTootsDisabled, - ) - } - > - Prefetch Toots - - - - - - - + + + + Home + + + Trending + + + Public + + + + + $settings.setKey( + "prefetchTootsDisabled", + !$settings.get().prefetchTootsDisabled, + ) + } + > + Prefetch Toots + + + + + + } >