Settings: fix back button pop too much frames

This commit is contained in:
thislight 2024-11-16 22:38:27 +08:00
parent 32dffaaa3d
commit 63fe4acc98
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E

View file

@ -201,7 +201,7 @@ const Settings: ParentComponent = (props) => {
variant="dense" variant="dense"
sx={{ paddingTop: "var(--safe-area-inset-top, 0px)" }} sx={{ paddingTop: "var(--safe-area-inset-top, 0px)" }}
> >
<IconButton color="inherit" onClick={[pop, 11]} disableRipple> <IconButton color="inherit" onClick={[pop, 1]} disableRipple>
<CloseIcon /> <CloseIcon />
</IconButton> </IconButton>
<Title>{t("Settings")}</Title> <Title>{t("Settings")}</Title>