移动端隐藏侧边栏

This commit is contained in:
xuzhenjun 2023-04-10 02:02:02 +08:00
parent 02117471d5
commit e1eb70cf71
2 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ function _Home() {
); );
const chatStore = useChatStore(); const chatStore = useChatStore();
const loading = !useHasHydrated(); const loading = !useHasHydrated();
const [showSideBar, setShowSideBar] = useState(true); const [showSideBar, setShowSideBar] = useState(false); //移动端隐藏侧边栏
// setting // setting
const [openSettings, setOpenSettings] = useState(false); const [openSettings, setOpenSettings] = useState(false);

View File

@ -220,7 +220,7 @@ export function Settings(props: { closeSettings: () => void }) {
</Popover> </Popover>
</SettingItem> </SettingItem>
<SettingItem {/* <SettingItem
title={Locale.Settings.Update.Version(currentId)} title={Locale.Settings.Update.Version(currentId)}
subTitle={ subTitle={
checkingUpdate checkingUpdate
@ -243,7 +243,7 @@ export function Settings(props: { closeSettings: () => void }) {
onClick={() => checkUpdate(true)} onClick={() => checkUpdate(true)}
/> />
)} )}
</SettingItem> </SettingItem> */}
<SettingItem title={Locale.Settings.SendKey}> <SettingItem title={Locale.Settings.SendKey}>
<select <select