Settings: workaround for the crash on WebKit

The ripple may be undefined on mount
This commit is contained in:
thislight 2024-08-13 15:08:29 +08:00
parent 2a2f82b625
commit 52e1a27b17

View file

@ -50,7 +50,7 @@ const Settings: ParentComponent = () => {
topbar={
<AppBar position="static">
<Toolbar variant="dense" sx={{paddingTop: "var(--safe-area-inset-top, 0px)"}}>
<IconButton color="inherit" onClick={[navigate, -1]}>
<IconButton color="inherit" onClick={[navigate, -1]} disableRipple>
<CloseIcon />
</IconButton>
<Title>Settings</Title>