Compare commits

..

No commits in common. "2de1960fb53fb9e68b7b676858cc8ff95886a355" and "66366e648626c841839b3af2c92b0e6ecf0e66e2" have entirely different histories.

3 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
{ {
"$schema": "https://json.schemastore.org/package", "$schema": "https://json.schemastore.org/package",
"name": "tutu", "name": "tutu",
"version": "1.0.3", "version": "1.0.2",
"description": "", "description": "",
"private": true, "private": true,
"type": "module", "type": "module",

View file

@ -22,12 +22,11 @@
@media (max-width: 560px) { @media (max-width: 560px) {
& { & {
left: 0; left: 0;
top: 0; top: var(--safe-area-inset-top, 0);
transform: none; transform: none;
bottom: 0; bottom: 0;
height: 100vh; height: 100vh;
height: 100dvh; height: 100dvh;
max-height: 100%;
} }
} }
} }

View file

@ -49,7 +49,7 @@ const Settings: ParentComponent = () => {
<Scaffold <Scaffold
topbar={ topbar={
<AppBar position="static"> <AppBar position="static">
<Toolbar variant="dense" sx={{paddingTop: "var(--safe-area-inset-top, 0px)"}}> <Toolbar variant="dense">
<IconButton onClick={[navigate, -1]}> <IconButton onClick={[navigate, -1]}>
<CloseIcon /> <CloseIcon />
</IconButton> </IconButton>
@ -94,15 +94,16 @@ const Settings: ParentComponent = () => {
<ListItem> <ListItem>
<ListItemText secondary="Regular">Fonts</ListItemText> <ListItemText secondary="Regular">Fonts</ListItemText>
</ListItem> </ListItem>
<ListItem onClick={(e) => <ListItem>
$settings.setKey("prefetchTootsDisabled", !settings$().prefetchTootsDisabled)
}>
<ListItemText secondary="Tutu will download toots before you scroll to the position."> <ListItemText secondary="Tutu will download toots before you scroll to the position.">
Prefetch Toots Prefetch Toots
</ListItemText> </ListItemText>
<ListItemSecondaryAction> <ListItemSecondaryAction>
<Switch <Switch
checked={!settings$().prefetchTootsDisabled} checked={!settings$().prefetchTootsDisabled}
onChange={(e) =>
$settings.setKey("prefetchTootsDisabled", !e.target.checked)
}
/> />
</ListItemSecondaryAction> </ListItemSecondaryAction>
</ListItem> </ListItem>