A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
update login flow
ammarahm-ed4ff9ef301954
diff --git a/apps/mobile/ios/Podfile.lock b/apps/mobile/ios/Podfile.lockindex edea2c5b0..922f653ab 100644--- a/apps/mobile/ios/Podfile.lock+++ b/apps/mobile/ios/Podfile.lock@@ -200,6 +200,8 @@ PODS:- React- react-native-html-to-pdf-lite (0.9.1):- React+ - react-native-image-picker (3.2.1):+ - React-Core- react-native-keep-awake (1.0.4):- React- react-native-mmkv-storage (0.3.7):@@ -358,6 +360,7 @@ DEPENDENCIES:- react-native-fingerprint-scanner (from `../node_modules/react-native-fingerprint-scanner`)- react-native-get-random-values (from `../node_modules/react-native-get-random-values`)- react-native-html-to-pdf-lite (from `../node_modules/react-native-html-to-pdf-lite`)+ - react-native-image-picker (from `../node_modules/react-native-image-picker`)- "react-native-keep-awake (from `../node_modules/@sayem314/react-native-keep-awake`)"- react-native-mmkv-storage (from `../node_modules/react-native-mmkv-storage/react-native-mmkv-storage.podspec`)- "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)"@@ -452,6 +455,8 @@ EXTERNAL SOURCES::path: "../node_modules/react-native-get-random-values"react-native-html-to-pdf-lite::path: "../node_modules/react-native-html-to-pdf-lite"+ react-native-image-picker:+ :path: "../node_modules/react-native-image-picker"react-native-keep-awake::path: "../node_modules/@sayem314/react-native-keep-awake"react-native-mmkv-storage:@@ -570,6 +575,7 @@ SPEC CHECKSUMS:react-native-fingerprint-scanner: be63e626b31fb951780a5fac5328b065a61a3d6ereact-native-get-random-values: 1404bd5cc0ab0e287f75ee1c489555688fc65f89react-native-html-to-pdf-lite: 21bfb169bf4cbcd7bec9f736975ee1b3f5292d4a+ react-native-image-picker: 64d12e81f3d9dad0af107fe6536b295d51932ec0react-native-keep-awake: e63964d58c890de02bfb6519dedb7d90b5c782dereact-native-mmkv-storage: 6d9ce7bbbef45fcdde623dd13bf3617ea87c2a52react-native-netinfo: 0212ce8604e88edf686f1481b925b17a42a52449diff --git a/apps/mobile/src/assets/images/assets.js b/apps/mobile/src/assets/images/assets.jsindex 80d15b60e..10bc54829 100644--- a/apps/mobile/src/assets/images/assets.js+++ b/apps/mobile/src/assets/images/assets.js@@ -127,3 +127,6 @@ export const VAULT_SVG = (color) => `export const ACCENT_SVG = (color) => `<svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 776.4 516.1"><defs/><path fill="#f2f2f2" d="M157.8 467.5a354.6 354.6 0 01-3.4 45.5l-.2 1.6-142.7-.8a58.7 58.7 0 01-1.3-1.6 67.8 67.8 0 01-3.7-5.5C1 497.6-1.5 487 1 479.5v-.1a13 13 0 012.6-4.4c5.7-6.5 17.4-5.5 28-.2-9.5-10.4-17-23.5-17.7-35.2-.5-11.4 5.4-19.6 12-26.5a65.6 65.6 0 01.6-.7l.3-.3c5-5.3 11-10.5 19.4-9.9 9.4.7 19.7 8.6 27 17.7 7.3 9.1 12 19.5 17 29.6a119.4 119.4 0 0018 29c-10.6-13.4-19.2-28.8-22.4-43.7s-.3-29.2 9.1-36.2a22.2 22.2 0 019.8-4h1.2a39 39 0 0128.2 9.2 65 65 0 0120 31.1 106 106 0 013.7 32.6z"/><path fill="#fff" d="M64.4 514.1h-2.7l-2.7-1.6-1.6-1q-13.6-8.3-27.3-16Q16.3 488 2.4 481a1.1 1.1 0 01-.6-1.3c.2-.3.5-.4.9-.2l3.4 1.7q13.9 7 27.7 14.8 13.8 7.8 27.4 16.2l.6.3 2.6 1.6zm35.2.2h-1.7l-1.1-1.6-26.9-37.6L26 413.5a1 1 0 01-.2-.4c-.1-.4.2-.7.7-.7a1.3 1.3 0 01.8.6L52 447.5l43.7 61.3 2.7 4 1.2 1.5zm37.6-9.8l-.5 8.4-.2 1.6h-1.7l.1-1.6c.4-4 .6-8 .7-12.2a170.5 170.5 0 00-3.4-34.4 214 214 0 00-10.4-35.7 245.2 245.2 0 00-17-35.3 1 1 0 01-.1-.6c0-.5.7-.7 1.2-.2a1.5 1.5 0 01.3.3l2.4 4.3a245 245 0 0116.3 35.4 213 213 0 019.6 35.8 168.2 168.2 0 012.7 34.2z"/><path fill="#3f3d56" d="M537.4 286h-167a14.7 14.7 0 01-9.6-3.2 1 1 0 011.2-1.6 12.7 12.7 0 008.4 2.8h167a15 15 0 0015-15V167a15 15 0 00-15-15h-167a15 15 0 00-15 15v60a1 1 0 01-2 0v-60a17 17 0 0117-17h167a17 17 0 0117 17v102a17 17 0 01-17 17z"/><path fill="#3f3d56" d="M759.4 344h-442a1 1 0 010-2h442a15 15 0 0015-15V17a15 15 0 00-15-15h-470a15 15 0 00-15 15v202a1 1 0 01-2 0V17a17 17 0 0117-17h470a17 17 0 0117 17v310a17 17 0 01-17 17z"/><path fill="#3f3d56" d="M273 32.6h503v2H273z"/><circle cx="292" cy="19.5" r="6" fill="#3f3d56"/><circle cx="309.3" cy="19.5" r="6" fill="#3f3d56"/><circle cx="326.5" cy="19.5" r="6" fill="#3f3d56"/><path fill="#3f3d56" d="M677.9 101h-310a15.5 15.5 0 010-31h310a15.5 15.5 0 010 31zm-310-29a13.5 13.5 0 000 27h310a13.5 13.5 0 000-27z"/><path fill="${color}" d="M675.9 180h-60a15.5 15.5 0 010-31h60a15.5 15.5 0 010 31zm0 52h-60a15.5 15.5 0 010-31h60a15.5 15.5 0 010 31zm0 52h-60a15.5 15.5 0 010-31h60a15.5 15.5 0 010 31z"/><path fill="#a0616a" d="M249.4 293.6a11.2 11.2 0 00-2.3-.3 11 11 0 00-4.3.9 10 10 0 00-1.3.6l-44.7-20-1.3-12.2-19.3-.5.2 20.2a10.9 10.9 0 007.8 10.3l52.3 15 .4 1a11 11 0 006.5 6.1 10.9 10.9 0 003.7.6 10.4 10.4 0 002.3-.2 9.6 9.6 0 001.2-.4V294a11.4 11.4 0 00-1.2-.3zM127 504.2h12.3l5.8-47.3h-18v47.3z"/><path fill="#2f2e41" d="M163 515.6h-38.6v-14.9h23.7a14.9 14.9 0 0114.9 15z"/><path fill="#a0616a" d="M63.3 491l11.3 4.8 24-41.1-16.7-7.2L63.3 491z"/><path fill="#2f2e41" d="M91.8 515.6l-35.4-15.2 5.9-13.6L84 496a14.9 14.9 0 017.8 19.5z"/><circle cx="157.4" cy="173.4" r="24.6" fill="#a0616a"/><path fill="#2f2e41" d="M139.6 492.7l-13.5-2.6a4.5 4.5 0 01-3.6-4.9l9-87.2a3.5 3.5 0 00-6.8-1.8l-39 91.2a4.5 4.5 0 01-6 2.3l-11-4.9a4.5 4.5 0 01-2.4-5.5L93 399.1a3.5 3.5 0 00.2-.6l8.6-73.3a4.5 4.5 0 012.8-3.6l27.4-11.2a4.5 4.5 0 014.8 1l34.6 33.6a4.5 4.5 0 011.3 4.1l-27.8 140a4.5 4.5 0 01-4.4 3.6 4.5 4.5 0 01-.9 0z"/><path fill="#ccc" d="M124.2 329.2c-4.8-5.5-8.2-8-10.6-7.6-2.4.4-3.8 3.7-5.2 7.2-2 4.8-4.2 10.2-9.8 10.6a4.6 4.6 0 01-4.5-1.9c-4.4-6.4 6-27.8 7-29.7l-.5-101a4.5 4.5 0 012.4-4c28.6-15.5 67.2 11.4 74.7 16.9a4.5 4.5 0 011.8 3.8A4954 4954 0 00174 345c0 5.3-1.8 8.6-5.4 10a10.8 10.8 0 01-3.8.6c-11 0-28.8-12.6-40.7-26.3z"/><path fill="#ccc" d="M164.2 280.2a4.5 4.5 0 01-2-3.6l-2-45.3a11.7 11.7 0 0122.7-4.7l14.5 38a4.5 4.5 0 01-2.6 5.9l-26.6 10.1a4.5 4.5 0 01-4-.4z"/><path fill="#a0616a" d="M96.6 350.9a10.7 10.7 0 01-1.7-16.4l-4.7-104.9 23.2 2.7-2.7 102.4a10.8 10.8 0 01-14 16.2z"/><path fill="#ccc" d="M80.5 257.5a4.5 4.5 0 01-.6-4l14.3-43a11.7 11.7 0 0123 3.7V255a4.5 4.5 0 01-4.6 4.5H84.2a4.5 4.5 0 01-3.7-1.9z"/><path fill="#2f2e41" d="M141.5 190a4.9 4.9 0 01-6.4-.4c-5.2-4.9-9.7-10.8-12-17.6a26 26 0 013.1-23.5 37.1 37.1 0 0117.3-11.2 28.3 28.3 0 018-2 11 11 0 017.7 2.1 6.9 6.9 0 012.3 7.4 25.8 25.8 0 0111.8-6 14.3 14.3 0 018.4.3c3.8 1.5 6.2 5.3 7.4 9.2a16.7 16.7 0 01.2 9.2 11.1 11.1 0 01-5.7 7c-3.5 1.7-7.6 1-11.2-.1s-7-3.1-10.7-3.9-8-.3-10.7 2.4c-1.9 2-2.6 4.7-3.3 7.3l-3.4 13.5a16.9 16.9 0 01-2.2 5.6 3.3 3.3 0 01-.6.7z"/><path fill="#ccc" d="M309.2 273.4v46.2l.6.5v-46.6a4.5 4.5 0 00-.6 0zm67-30.2l-32-23.1a10.8 10.8 0 00-15.1 2.4l-18.7 25.7-1.2 1.7v99.3a9.6 9.6 0 01-9.6 9.5h-5.3l3 .7a10.4 10.4 0 002.2.2 10.8 10.8 0 008.8-4.5l1.3-1.8 69-95a10.8 10.8 0 00-2.5-15zm1.3 14.4L310.4 350l-.7 1h-.1a10.3 10.3 0 00.2-2v-97.9l.6-.8 19.7-27.2a9.6 9.6 0 0113.4-2.1l31.9 23.2a9.6 9.6 0 012 13.3z"/><path fill="#ccc" d="M343.6 281.9a8.4 8.4 0 01-5-1.6l-18-13a8.5 8.5 0 01-1.8-12l13-17.9a8.5 8.5 0 0111.8-1.9l18 13a8.5 8.5 0 011.9 12l-13 17.9a8.4 8.4 0 01-5.6 3.4 8.6 8.6 0 01-1.3 0z"/><path fill="#e6e6e6" d="M315 323.2a5.5 5.5 0 01-3.2-1l-3.1-2.4V273h.5a5.7 5.7 0 011.4.3 5.5 5.5 0 011.5.8l22.7 16.4a5.6 5.6 0 011.2 7.8L319.6 321a5.5 5.5 0 01-3.6 2.2 5.7 5.7 0 01-1 0z" opacity=".5"/><path fill="#3f3d56" d="M299.6 218.8h-39.4a10.8 10.8 0 00-10.8 10.8v119.6a10.8 10.8 0 0010.8 10.8h39.4a10.8 10.8 0 0010-6.7 10.5 10.5 0 00.6-1.9 10.3 10.3 0 00.2-1.3 8.2 8.2 0 000-1V229.7a10.8 10.8 0 00-10.8-10.8zm9.6 130.4a9.6 9.6 0 01-9.6 9.5h-39.4a9.6 9.6 0 01-9.6-9.5V229.6a9.6 9.6 0 019.6-9.5h39.4a9.6 9.6 0 019.6 9.5z"/><path fill="${color}" d="M291 270.8h-22.2a8.5 8.5 0 01-8.5-8.5v-22.1a8.5 8.5 0 018.5-8.5H291a8.5 8.5 0 018.5 8.5v22.1a8.5 8.5 0 01-8.5 8.5z"/><path fill="${color}" d="M291 320.4h-22.2a8.5 8.5 0 01-8.5-8.5v-22.1a8.5 8.5 0 018.5-8.5H291a8.5 8.5 0 018.5 8.5v22.1a8.5 8.5 0 01-8.5 8.5z" opacity=".5"/><path fill="#3f3d56" d="M279.9 331.4a8.3 8.3 0 108.3 8.3 8.3 8.3 0 00-8.3-8.3zm0 15.2a7 7 0 117-7 7 7 0 01-7 7zm-21.5 169.5H9a1.2 1.2 0 010-2.4h249.3a1.2 1.2 0 010 2.4z"/></svg>`;++export const WELCOME_SVG = (color) => `+<svg id="fd1e300e-6133-4b79-9025-3394cccdd89f" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="868" height="731" viewBox="0 0 868 731"><defs><linearGradient id="06147ff9-8cd2-48ac-a1c1-caecd7b6d6a5" x1="731.5" y1="630" x2="731.5" y2="105" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="gray" stop-opacity="0.25"/><stop offset="0.54" stop-color="gray" stop-opacity="0.12"/><stop offset="1" stop-color="gray" stop-opacity="0.1"/></linearGradient><linearGradient id="a49b107c-cf66-4ec6-8282-86ab0caa351c" x1="136.5" y1="632" x2="136.5" y2="107" xlink:href="#06147ff9-8cd2-48ac-a1c1-caecd7b6d6a5"/><linearGradient id="1f9811ff-c8f4-40a6-be63-e60ca0341cbe" x1="136.5" y1="190" x2="136.5" y2="159" gradientUnits="userSpaceOnUse"><stop offset="0" stop-opacity="0.12"/><stop offset="0.55" stop-opacity="0.09"/><stop offset="1" stop-opacity="0.02"/></linearGradient><linearGradient id="b9a200bd-353c-4381-b6e1-073e5213fd80" x1="732.5" y1="237" x2="732.5" y2="206" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="bd740118-0fc8-46fe-baa7-1287731d1ce1" x1="731.5" y1="285" x2="731.5" y2="254" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="be3dcc85-6798-4804-ad40-40dd5e1bf54d" x1="731.5" y1="333" x2="731.5" y2="302" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="7951aed1-d6b7-43ca-8fc6-4bf3d931fa96" x1="731.5" y1="381" x2="731.5" y2="350" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="f7ec873f-c4fc-49e9-9fd3-dd83f2d4e56d" x1="731.5" y1="429" x2="731.5" y2="398" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="ccdfa92b-51d8-4ad9-a821-9e1bef0af2d7" x1="731.5" y1="477" x2="731.5" y2="446" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="073d1fbf-61de-45f9-b512-c4899ce091e5" x1="731.5" y1="525" x2="731.5" y2="494" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="24835175-14ba-470d-95d2-6a8277fcc694" x1="731.5" y1="573" x2="731.5" y2="542" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="5ff08f58-18b8-40ea-89dd-f61e941fbca5" x1="731.5" x2="731.5" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="35037972-f4cb-4e52-85d9-6feea861c78a" x1="51" y1="223.5" x2="222" y2="223.5" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="c11cf938-6a5f-4793-b594-126852022070" x1="51" y1="270.5" x2="222" y2="270.5" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="68e8be81-276e-4a4c-a07a-ad0995a3c0be" x1="51" y1="317.5" x2="222" y2="317.5" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="0822cc54-0c46-479a-a5ec-03e9a82962c7" x1="51" y1="365.5" x2="222" y2="365.5" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="7019b20f-90f6-479e-a238-57a05bc6be32" x1="51" y1="413.5" x2="222" y2="413.5" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="d42fcc48-79e2-414c-a733-2be802693088" x1="51" y1="461.5" x2="222" y2="461.5" xlink:href="#1f9811ff-c8f4-40a6-be63-e60ca0341cbe"/><linearGradient id="0c4558fc-2870-4523-bb15-f13635f1ebad" x1="132" y1="664" x2="735" y2="664" xlink:href="#06147ff9-8cd2-48ac-a1c1-caecd7b6d6a5"/><linearGradient id="5f8c78d2-e119-41dc-88f5-5bfd3b7b4286" x1="435" y1="89" x2="435" y2="50" xlink:href="#06147ff9-8cd2-48ac-a1c1-caecd7b6d6a5"/><linearGradient id="0b3309b2-8c80-4e02-ba09-43858a03760e" x1="601" y1="704.8" x2="601" y2="406" xlink:href="#06147ff9-8cd2-48ac-a1c1-caecd7b6d6a5"/></defs><title>welcome</title><rect x="69" width="731" height="731" fill="${color}" opacity="0.2"/><rect x="179" y="68.25" width="510" height="595.5" fill="${color}" opacity="0.5"/><rect x="595" y="105" width="273" height="525" fill="url(#06147ff9-8cd2-48ac-a1c1-caecd7b6d6a5)"/><rect y="107" width="273" height="525" fill="url(#a49b107c-cf66-4ec6-8282-86ab0caa351c)"/><rect x="604" y="113" width="255" height="506" fill="${color}"/><rect x="175" y="197.5" width="255" height="506" transform="translate(439 816.5) rotate(-180)" fill="${color}"/><rect x="51" y="159" width="171" height="31" fill="url(#1f9811ff-c8f4-40a6-be63-e60ca0341cbe)"/><rect x="647" y="206" width="171" height="31" fill="url(#b9a200bd-353c-4381-b6e1-073e5213fd80)"/><rect x="646" y="254" width="171" height="31" fill="url(#bd740118-0fc8-46fe-baa7-1287731d1ce1)"/><rect x="646" y="302" width="171" height="31" fill="url(#be3dcc85-6798-4804-ad40-40dd5e1bf54d)"/><rect x="646" y="350" width="171" height="31" fill="url(#7951aed1-d6b7-43ca-8fc6-4bf3d931fa96)"/><rect x="646" y="398" width="171" height="31" fill="url(#f7ec873f-c4fc-49e9-9fd3-dd83f2d4e56d)"/><rect x="646" y="446" width="171" height="31" fill="url(#ccdfa92b-51d8-4ad9-a821-9e1bef0af2d7)"/><rect x="646" y="494" width="171" height="31" fill="url(#073d1fbf-61de-45f9-b512-c4899ce091e5)"/><rect x="646" y="542" width="171" height="31" fill="url(#24835175-14ba-470d-95d2-6a8277fcc694)"/><rect x="646" y="159" width="171" height="31" fill="url(#5ff08f58-18b8-40ea-89dd-f61e941fbca5)"/><rect x="51" y="208" width="171" height="31" fill="url(#35037972-f4cb-4e52-85d9-6feea861c78a)"/><rect x="51" y="255" width="171" height="31" fill="url(#c11cf938-6a5f-4793-b594-126852022070)"/><rect x="51" y="302" width="171" height="31" fill="url(#68e8be81-276e-4a4c-a07a-ad0995a3c0be)"/><rect x="51" y="350" width="171" height="31" fill="url(#0822cc54-0c46-479a-a5ec-03e9a82962c7)"/><rect x="51" y="398" width="171" height="31" fill="url(#7019b20f-90f6-479e-a238-57a05bc6be32)"/><rect x="55" y="163" width="164" height="24" fill="#fff"/><rect x="54.5" y="210" width="164" height="24" fill="#fff"/><rect x="54.5" y="258" width="164" height="24" fill="#fff"/><rect x="54.5" y="306" width="164" height="24" fill="#fff"/><rect x="54.5" y="354" width="164" height="24" fill="#fff"/><rect x="54.5" y="402" width="164" height="24" fill="#fff"/><rect x="51" y="446" width="171" height="31" fill="url(#d42fcc48-79e2-414c-a733-2be802693088)"/><rect x="54.5" y="450" width="164" height="24" fill="#fff"/><rect x="54.5" y="450" width="164" height="24" fill="#fff"/><rect x="54.5" y="498" width="164" height="24" fill="#fff"/><rect x="54.5" y="546" width="164" height="24" fill="#fff"/><rect x="650" y="162" width="164" height="24" fill="#fff"/><rect x="650" y="210" width="164" height="24" fill="#fff"/><rect x="650" y="258" width="164" height="24" fill="#fff"/><rect x="650" y="306" width="164" height="24" fill="#fff"/><rect x="650" y="354" width="164" height="24" fill="#fff"/><rect x="650" y="402" width="164" height="24" fill="#fff"/><rect x="650" y="450" width="164" height="24" fill="#fff"/><rect x="650" y="498" width="164" height="24" fill="#fff"/><rect x="650" y="546" width="164" height="24" fill="#fff"/><rect x="132" y="645" width="603" height="38" fill="url(#0c4558fc-2870-4523-bb15-f13635f1ebad)"/><rect x="137" y="649" width="594" height="30" fill="${color}"/><rect x="134" y="50" width="602" height="39" fill="url(#5f8c78d2-e119-41dc-88f5-5bfd3b7b4286)"/><rect x="137" y="53" width="594" height="30" fill="${color}"/><rect x="289" y="113" width="292" height="506" fill="#263238" opacity="0.5"/><path d="M825.66,417.55c7,9.38-3.48,20.46-3.48,20.46l1.76.61c-2.59,2.87-12.82,15.82-52.26,74.4-50.5,75-118.55,93.71-118.55,93.71h0a84,84,0,0,0-27.73-14.31v-7.08a83,83,0,0,0,55.3-53.48,85.08,85.08,0,0,0,9.14-38.44c0-48-39.77-86.94-88.82-86.94s-88.82,38.93-88.82,86.94a85.08,85.08,0,0,0,9.14,38.44,83,83,0,0,0,55.3,53.48v7.08a84,84,0,0,0-27.73,14.31h0S480.83,588,430.33,513c-39.44-58.58-49.67-71.54-52.26-74.4l1.76-.61s-10.45-11.08-3.48-20.46-46.15-20.46-40.06,0,13.93,30.69,13.93,30.69S461.42,623.6,519.47,652.58a80.43,80.43,0,0,0-2.06,18.12V704.8H684.59V670.7a80.43,80.43,0,0,0-2.06-18.12c58-29,169.25-204.35,169.25-204.35s7.84-10.23,13.93-30.69S818.69,408.17,825.66,417.55Z" transform="translate(-166 -84.5)" fill="url(#0b3309b2-8c80-4e02-ba09-43858a03760e)"/><circle cx="435" cy="413.47" r="85.06" fill="#263238"/><circle cx="435" cy="426.82" r="80.06" fill="#f8c198"/><circle cx="403.31" cy="409.3" r="10.01" fill="#263238"/><circle cx="468.36" cy="409.3" r="10.01" fill="#263238"/><path d="M624.35,548c0,6-10.45,15.85-23.35,15.85S577.65,554,577.65,548s10.45-5.84,23.35-5.84S624.35,542,624.35,548Z" transform="translate(-166 -84.5)" fill="#fff"/><circle cx="405.81" cy="409.3" r="3.34" fill="#fff"/><circle cx="471.69" cy="409.3" r="3.34" fill="#fff"/><path d="M609,466.88c-4.88,0-9.26-4.24-9.78-9.09a12,12,0,0,1,7-11.75,3.42,3.42,0,0,1,1.47-.38c1.68,0,2.51,2,3.05,3.59,1.68,4.92,4.66,9.72,9.34,12s11.22,1.11,13.69-3.47c-6.62-2.95-9.45-12.21-5.6-18.35,1.49-2.37,3.81-4.38,4.28-7.14.86-5-4.62-8.64-9.47-10.14-14-4.33-62.8-4.81-65.49,16.08C554.67,460.27,593.63,469.8,609,466.88Z" transform="translate(-166 -84.5)" fill="#263238"/><ellipse cx="524.27" cy="512.15" rx="5" ry="14.18" transform="translate(-317.38 143.66) rotate(-21.53)" fill="#f8c198"/><ellipse cx="677.73" cy="512.15" rx="14.18" ry="5" transform="translate(-213.42 870.11) rotate(-68.47)" fill="#f8c198"/><path d="M650.91,608.84s65.17-18.3,113.54-91.69,50.87-73.59,50.87-73.59l25.85,10.21S721.09,647.25,669.39,657.26,650.91,608.84,650.91,608.84Z" transform="translate(-166 -84.5)" fill="#ff9800"/><path d="M812.83,443.77s10-10.84,3.34-20,44.2-20,38.36,0-13.34,30-13.34,30Z" transform="translate(-166 -84.5)" fill="#f8c198"/><path d="M551.09,608.84s-65.17-18.3-113.54-91.69-50.87-73.59-50.87-73.59l-25.85,10.21s120.09,193.48,171.8,203.49S551.09,608.84,551.09,608.84Z" transform="translate(-166 -84.5)" fill="#ff9800"/><path d="M389.17,443.77s-10-10.84-3.34-20-44.2-20-38.36,0,13.34,30,13.34,30Z" transform="translate(-166 -84.5)" fill="#f8c198"/><g opacity="0.2"><path d="M628.29,427.27c-.48,2.76-2.8,4.76-4.28,7.14-3.37,5.38-1.62,13.16,3.32,17a12.79,12.79,0,0,1,.85-11.14c1.49-2.37,3.81-4.38,4.28-7.14.54-3.13-1.41-5.73-4.13-7.6A6,6,0,0,1,628.29,427.27Z" transform="translate(-166 -84.5)" fill="#fff"/><path d="M607.46,446.51c-.32-.75-.62-1.51-.88-2.27-.54-1.59-1.37-3.54-3.05-3.59a3.42,3.42,0,0,0-1.47.38,12,12,0,0,0-7,11.75,10.53,10.53,0,0,0,4.47,7.35,9.4,9.4,0,0,1-.3-1.51,12,12,0,0,1,7-11.75A3.87,3.87,0,0,1,607.46,446.51Z" transform="translate(-166 -84.5)" fill="#fff"/><path d="M600.41,462.35c-12.16.51-31.78-4.13-41.45-14,7.22,15.36,37.05,21.79,50,19.32A10.08,10.08,0,0,1,600.41,462.35Z" transform="translate(-166 -84.5)" fill="#fff"/><path d="M628.68,454.11c-2.92,3.43-8.58,4.15-12.75,2.12a14.54,14.54,0,0,1-3.7-2.61,17.84,17.84,0,0,0,7.87,8.44c4.68,2.27,11.22,1.11,13.69-3.47A11.88,11.88,0,0,1,628.68,454.11Z" transform="translate(-166 -84.5)" fill="#fff"/></g><path d="M837.85,453.77S717.76,647.25,666,657.26a60.33,60.33,0,0,1-9.07,1.11,53.05,53.05,0,0,0,12.41-1.11c51.71-10,171.8-203.49,171.8-203.49l-2.68-.95C838.09,453.45,837.85,453.77,837.85,453.77Z" transform="translate(-166 -84.5)" fill="#fff" opacity="0.2"/><path d="M364.15,453.77S484.24,647.25,536,657.26a60.33,60.33,0,0,0,9.07,1.11,53.05,53.05,0,0,1-12.41-1.11c-51.71-10-171.8-203.49-171.8-203.49l2.68-.95C363.91,453.45,364.15,453.77,364.15,453.77Z" transform="translate(-166 -84.5)" fill="#fff" opacity="0.2"/><path d="M435,506.88h0a80.06,80.06,0,0,1,80.06,80.06V620.3a0,0,0,0,1,0,0H354.94a0,0,0,0,1,0,0V586.94A80.06,80.06,0,0,1,435,506.88Z" fill="#ff9800"/><path d="M601.83,591.8h0a80.93,80.93,0,0,0-8.72.47c1,0,1.91-.06,2.88-.06h0a80.06,80.06,0,0,1,80.06,80.06v32.94h5.84V671.86A80.06,80.06,0,0,0,601.83,591.8Z" transform="translate(-166 -84.5)" fill="#fff" opacity="0.2"/><path d="M600.17,591.8h0a80.93,80.93,0,0,1,8.72.47c-1,0-1.91-.06-2.88-.06h0a80.06,80.06,0,0,0-80.06,80.06v32.94h-5.84V671.86A80.06,80.06,0,0,1,600.17,591.8Z" transform="translate(-166 -84.5)" fill="#fff" opacity="0.2"/><rect x="411.65" y="484.78" width="46.7" height="56.29" rx="23.35" ry="23.35" fill="#f8c198"/></svg>`diff --git a/apps/mobile/src/components/LoginDialog/index.js b/apps/mobile/src/components/LoginDialog/index.jsindex 4f131d08b..dc082c760 100644--- a/apps/mobile/src/components/LoginDialog/index.js+++ b/apps/mobile/src/components/LoginDialog/index.js@@ -19,7 +19,9 @@ import PremiumService from '../../services/PremiumService';import {getElevation} from '../../utils';import {db} from '../../utils/DB';import {+ eCloseProgressDialog,eOpenLoginDialog,+ eOpenProgressDialog,eOpenRecoveryKeyDialog,refreshNotesPage,} from '../../utils/Events';@@ -192,13 +194,19 @@ const LoginDialog = () => {type: 'success',context: 'local',});+ close();+ await sleep(300);+ eSendEvent(eOpenProgressDialog, {+ title: 'Syncing your data',+ paragraph: 'Please wait while we sync all your data.',+ noProgress: false,+ });await db.sync();dispatch({type: Actions.LAST_SYNC, lastSync: await db.lastSynced()});dispatch({type: Actions.ALL});eSendEvent(refreshNotesPage);- close();+ eSendEvent(eCloseProgressDialog);} catch (e) {- console.log(e);setLoading(false);setStatus(null);if (user && !user.isEmailConfirmed) {diff --git a/apps/mobile/src/components/ResultDialog/index.js b/apps/mobile/src/components/ResultDialog/index.jsindex 1c9f16bca..ab7d8865f 100644--- a/apps/mobile/src/components/ResultDialog/index.js+++ b/apps/mobile/src/components/ResultDialog/index.js@@ -1,13 +1,14 @@-import React, { useEffect, useState } from 'react';-import { View } from 'react-native';-import Icon from 'react-native-vector-icons/MaterialCommunityIcons';-import { useTracked } from '../../provider';-import { DDS } from '../../services/DeviceDetection';-import { eSubscribeEvent, eUnSubscribeEvent } from '../../services/EventManager';-import { getElevation } from '../../utils';-import { eCloseResultDialog, eOpenResultDialog } from '../../utils/Events';-import { ph, SIZE } from '../../utils/SizeUtils';-import { Button } from '../Button';+import React, {useEffect, useState} from 'react';+import {View} from 'react-native';+import {SvgXml} from 'react-native-svg';+import {WELCOME_SVG} from '../../assets/images/assets';+import {useTracked} from '../../provider';+import {DDS} from '../../services/DeviceDetection';+import {eSubscribeEvent, eUnSubscribeEvent} from '../../services/EventManager';+import {getElevation} from '../../utils';+import {eCloseResultDialog, eOpenResultDialog} from '../../utils/Events';+import {ph, SIZE} from '../../utils/SizeUtils';+import {Button} from '../Button';import BaseDialog from '../Dialog/base-dialog';import Seperator from '../Seperator';import Heading from '../Typography/Heading';@@ -16,12 +17,12 @@ import Paragraph from '../Typography/Paragraph';const ResultDialog = () => {const [state, dispatch] = useTracked();const {colors} = state;- const [visible, setVisible] = useState(false);+ const [visible, setVisible] = useState(true);const [dialogData, setDialogData] = useState({- title: '',- paragraph: '',- icon: null,- button: null,+ title: 'Welcome!',+ paragraph: 'Please confirm your email to enable syncing.',+ icon: 'check',+ button: 'Thank You!',});useEffect(() => {eSubscribeEvent(eOpenResultDialog, open);@@ -55,7 +56,8 @@ const ResultDialog = () => {justifyContent: 'center',alignItems: 'center',}}>- <Icon name={dialogData.icon} color={colors.accent} size={80} />+ <SvgXml xml={WELCOME_SVG(colors.accent)} width={170} height={170} />+<Headingsize={SIZE.lg}style={{