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 7cc9753d30
commit 086c692dff
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E

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>