Compare commits
3 commits
66366e6486
...
2de1960fb5
Author | SHA1 | Date | |
---|---|---|---|
|
2de1960fb5 | ||
|
95fe954c5e | ||
|
44d7d7d8a5 |
3 changed files with 7 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"$schema": "https://json.schemastore.org/package",
|
||||
"name": "tutu",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"description": "",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
|
|
|
@ -22,11 +22,12 @@
|
|||
@media (max-width: 560px) {
|
||||
& {
|
||||
left: 0;
|
||||
top: var(--safe-area-inset-top, 0);
|
||||
top: 0;
|
||||
transform: none;
|
||||
bottom: 0;
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
max-height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ const Settings: ParentComponent = () => {
|
|||
<Scaffold
|
||||
topbar={
|
||||
<AppBar position="static">
|
||||
<Toolbar variant="dense">
|
||||
<Toolbar variant="dense" sx={{paddingTop: "var(--safe-area-inset-top, 0px)"}}>
|
||||
<IconButton onClick={[navigate, -1]}>
|
||||
<CloseIcon />
|
||||
</IconButton>
|
||||
|
@ -94,16 +94,15 @@ const Settings: ParentComponent = () => {
|
|||
<ListItem>
|
||||
<ListItemText secondary="Regular">Fonts</ListItemText>
|
||||
</ListItem>
|
||||
<ListItem>
|
||||
<ListItem onClick={(e) =>
|
||||
$settings.setKey("prefetchTootsDisabled", !settings$().prefetchTootsDisabled)
|
||||
}>
|
||||
<ListItemText secondary="Tutu will download toots before you scroll to the position.">
|
||||
Prefetch Toots
|
||||
</ListItemText>
|
||||
<ListItemSecondaryAction>
|
||||
<Switch
|
||||
checked={!settings$().prefetchTootsDisabled}
|
||||
onChange={(e) =>
|
||||
$settings.setKey("prefetchTootsDisabled", !e.target.checked)
|
||||
}
|
||||
/>
|
||||
</ListItemSecondaryAction>
|
||||
</ListItem>
|
||||
|
|
Loading…
Reference in a new issue