From 44d7d7d8a5016cbc3c5c73aad14b3afbcc3039ed Mon Sep 17 00:00:00 2001 From: thislight Date: Mon, 5 Aug 2024 16:45:33 +0800 Subject: [PATCH 1/3] start of v1.0.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b5fb7a4..953d8c5 100644 --- a/package.json +++ b/package.json @@ -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", From 95fe954c5ea229df28e81b2620a2a9ac34dbcf25 Mon Sep 17 00:00:00 2001 From: thislight Date: Mon, 5 Aug 2024 18:57:43 +0800 Subject: [PATCH 2/3] Settings: fix prefetch toot option is unresponsive --- src/settings/Settings.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index 36a4026..31a7424 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -94,16 +94,15 @@ const Settings: ParentComponent = () => { Fonts - + + $settings.setKey("prefetchTootsDisabled", !settings$().prefetchTootsDisabled) + }> Prefetch Toots - $settings.setKey("prefetchTootsDisabled", !e.target.checked) - } /> From 2de1960fb53fb9e68b7b676858cc8ff95886a355 Mon Sep 17 00:00:00 2001 From: thislight Date: Mon, 5 Aug 2024 19:05:39 +0800 Subject: [PATCH 3/3] BottomSheet: fix visual problem on iOS --- src/material/BottomSheet.module.css | 3 ++- src/settings/Settings.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/material/BottomSheet.module.css b/src/material/BottomSheet.module.css index 0295b86..e48ce13 100644 --- a/src/material/BottomSheet.module.css +++ b/src/material/BottomSheet.module.css @@ -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%; } } } diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index 31a7424..0a76743 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -49,7 +49,7 @@ const Settings: ParentComponent = () => { - +