Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix ui and cleanup

ammarahm-edc89f74d35b5c
diff --git a/apps/mobile/app/components/sheets/reminder/index.tsx b/apps/mobile/app/components/sheets/reminder/index.tsx
index 61581e93f..335085d1c 100644
--- a/apps/mobile/app/components/sheets/reminder/index.tsx
+++ b/apps/mobile/app/components/sheets/reminder/index.tsx
@@ -223,7 +223,7 @@ export default function ReminderSheet({
<View
style={{
paddingHorizontal: 12,
- maxHeight: DDS.isTab ? "90%" : "99.99%"
+ maxHeight: DDS.isTab ? "99.99%" : "99.99%"
}}
>
<View
@@ -247,7 +247,12 @@ export default function ReminderSheet({
/>
</View>
<Dialog context="local" />
- <ScrollView bounces={false}>
+ <ScrollView
+ bounces={false}
+ style={{
+ marginBottom: DDS.isTab ? 25 : undefined
+ }}
+ >
<Input
fwdRef={titleRef}
defaultValue={reminder?.title || referencedItem?.title}
diff --git a/apps/mobile/app/components/tabs/index.tsx b/apps/mobile/app/components/tabs/index.tsx
index 6f94e8f83..7f802005a 100644
--- a/apps/mobile/app/components/tabs/index.tsx
+++ b/apps/mobile/app/components/tabs/index.tsx
@@ -214,6 +214,10 @@ export const FluidTabs = forwardRef<TabsRef, TabProps>(function FluidTabs(
return;
}
translateX.value = animated ? withTiming(homePosition) : homePosition;
+ if (!animated) {
+ translateX.value = 299;
+ translateX.value = 300;
+ }
onDrawerStateChange(false);
isDrawerOpen.value = false;
},
diff --git a/apps/mobile/app/screens/editor/index.tsx b/apps/mobile/app/screens/editor/index.tsx
index c9b147b42..d45e1fb45 100755
--- a/apps/mobile/app/screens/editor/index.tsx
+++ b/apps/mobile/app/screens/editor/index.tsx
@@ -127,7 +127,6 @@ const Editor = React.memo(
renderKey.current === `editor-0` ? `editor-1` : `editor-0`;
editor.state.current.ready = false;
editor.setLoading(true);
- console.log("ERROR ERROR", Date.now());
}, [editor]);
useEffect(() => {