Skip to content

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

mobile: fix welcome message sheet ui

Ammar Ahmed16633dbd05d2
diff --git a/apps/mobile/app/components/walkthroughs/index.tsx b/apps/mobile/app/components/walkthroughs/index.tsx
index 545c4027b..7ebdd412e 100644
--- a/apps/mobile/app/components/walkthroughs/index.tsx
+++ b/apps/mobile/app/components/walkthroughs/index.tsx
@@ -53,7 +53,6 @@ export const Walkthrough = ({
justifyContent: "center",
alignItems: "center",
padding: DefaultAppStyles.GAP,
- paddingBottom: DefaultAppStyles.GAP * 2,
gap: DefaultAppStyles.GAP_VERTICAL
}}
>
@@ -117,7 +116,6 @@ export const Walkthrough = ({
{canSkip ? (
<Button
style={{
- marginTop: DefaultAppStyles.GAP,
paddingVertical: DefaultAppStyles.GAP_VERTICAL_SMALL
}}
textStyle={{
@@ -155,13 +153,13 @@ Walkthrough.present = async (
canSkip = true,
nopersist?: boolean
) => {
- if (!nopersist) {
- if (!walkthroughState || Object.keys(walkthroughState).length === 0) {
- await Walkthrough.init();
- }
- if (walkthroughState[id]) return;
- Walkthrough.update(id);
- }
+ // if (!nopersist) {
+ // if (!walkthroughState || Object.keys(walkthroughState).length === 0) {
+ // await Walkthrough.init();
+ // }
+ // if (walkthroughState[id]) return;
+ // Walkthrough.update(id);
+ // }
const walkthrough = walkthroughs[id]();
if (!walkthrough) return;
presentSheet({