Skip to content

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

fix: optimize basic ui for ios

thewisefarmerr8e0efddeded7
diff --git a/apps/mobile/android/app/src/main/AndroidManifest.xml b/apps/mobile/android/app/src/main/AndroidManifest.xml
index 1ce757bdf..300dc0039 100644
--- a/apps/mobile/android/app/src/main/AndroidManifest.xml
+++ b/apps/mobile/android/app/src/main/AndroidManifest.xml
@@ -2,7 +2,9 @@
package="com.notes">
<uses-permission android:name="android.permission.INTERNET" />
-
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+
<application
android:name=".MainApplication"
android:label="@string/app_name"
diff --git a/apps/mobile/ios/Notes.xcodeproj/project.pbxproj b/apps/mobile/ios/Notes.xcodeproj/project.pbxproj
index 81ce616ce..4836dd869 100644
--- a/apps/mobile/ios/Notes.xcodeproj/project.pbxproj
+++ b/apps/mobile/ios/Notes.xcodeproj/project.pbxproj
@@ -8,18 +8,24 @@
/* Begin PBXBuildFile section */
00E356F31AD99517003FC87E /* NotesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* NotesTests.m */; };
- 0265C5655CBE7F4432D01EEE /* libPods-NotesTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3F85B072A9101A4F10079594 /* libPods-NotesTests.a */; };
13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
+ 2AC5332F791F4AC973615596 /* libPods-Notes-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 36FE4CF96F141D64B0A0C1FF /* libPods-Notes-tvOS.a */; };
2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
2DCD954D1E0B4F2C00145EB5 /* NotesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* NotesTests.m */; };
- 776DEED0128D2A98D15831A3 /* libPods-Notes.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 800EA07E598E4BBB8FE8B11D /* libPods-Notes.a */; };
- 7B39AAF3FB83D259D6130589 /* libPods-Notes-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7CE2F5E64E98B66EDD419442 /* libPods-Notes-tvOS.a */; };
- C0DB4388558E39CA1E0E4F9B /* libPods-Notes-tvOSTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3ADF846363B24884EEF31551 /* libPods-Notes-tvOSTests.a */; };
+ 4FFCB73C43232E07469EEB31 /* libPods-NotesTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 89ABD2DB3BB5CC5C08F50BC5 /* libPods-NotesTests.a */; };
+ 58062BBC8B02A59BE1E73AED /* libPods-Notes.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FF962EEB8D0C9B17231DA150 /* libPods-Notes.a */; };
+ 655E77342380917B0049D452 /* Quicksand-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 655E772E2380917B0049D452 /* Quicksand-Bold.ttf */; };
+ 655E77352380917B0049D452 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 655E772F2380917B0049D452 /* Ionicons.ttf */; };
+ 655E77362380917B0049D452 /* Quicksand-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 655E77302380917B0049D452 /* Quicksand-Medium.ttf */; };
+ 655E77372380917B0049D452 /* Quicksand-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 655E77312380917B0049D452 /* Quicksand-Regular.ttf */; };
+ 655E77382380917B0049D452 /* Quicksand-SemiBold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 655E77322380917B0049D452 /* Quicksand-SemiBold.ttf */; };
+ 655E77392380917B0049D452 /* Quicksand-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 655E77332380917B0049D452 /* Quicksand-Light.ttf */; };
+ 773523A6669C9373D8945A06 /* libPods-Notes-tvOSTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 177E12D91F5B0732079F75AB /* libPods-Notes-tvOSTests.a */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
@@ -40,7 +46,6 @@
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
- 002AB39E542F9A8EA72D1B4A /* Pods-Notes-tvOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Notes-tvOSTests.debug.xcconfig"; path = "Target Support Files/Pods-Notes-tvOSTests/Pods-Notes-tvOSTests.debug.xcconfig"; sourceTree = "<group>"; };
008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
00E356EE1AD99517003FC87E /* NotesTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NotesTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
@@ -52,21 +57,28 @@
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Notes/Images.xcassets; sourceTree = "<group>"; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Notes/Info.plist; sourceTree = "<group>"; };
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Notes/main.m; sourceTree = "<group>"; };
- 22D7639D69F43D9B28BD47F5 /* Pods-NotesTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NotesTests.debug.xcconfig"; path = "Target Support Files/Pods-NotesTests/Pods-NotesTests.debug.xcconfig"; sourceTree = "<group>"; };
- 24246364B44603C858C2E6E0 /* Pods-Notes.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Notes.debug.xcconfig"; path = "Target Support Files/Pods-Notes/Pods-Notes.debug.xcconfig"; sourceTree = "<group>"; };
+ 177E12D91F5B0732079F75AB /* libPods-Notes-tvOSTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Notes-tvOSTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
2D02E47B1E0B4A5D006451C7 /* Notes-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Notes-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
2D02E4901E0B4A5D006451C7 /* Notes-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Notes-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
- 3ADF846363B24884EEF31551 /* libPods-Notes-tvOSTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Notes-tvOSTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- 3F85B072A9101A4F10079594 /* libPods-NotesTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-NotesTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- 4196567D52888E3126B2B403 /* Pods-NotesTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NotesTests.release.xcconfig"; path = "Target Support Files/Pods-NotesTests/Pods-NotesTests.release.xcconfig"; sourceTree = "<group>"; };
- 7CE2F5E64E98B66EDD419442 /* libPods-Notes-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Notes-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- 800EA07E598E4BBB8FE8B11D /* libPods-Notes.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Notes.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- 853AF191B79735F4930294C3 /* Pods-Notes-tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Notes-tvOS.debug.xcconfig"; path = "Target Support Files/Pods-Notes-tvOS/Pods-Notes-tvOS.debug.xcconfig"; sourceTree = "<group>"; };
- C234464C87B858C5C8023DCE /* Pods-Notes.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Notes.release.xcconfig"; path = "Target Support Files/Pods-Notes/Pods-Notes.release.xcconfig"; sourceTree = "<group>"; };
- C8F1A03DBCAA55891342B0DA /* Pods-Notes-tvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Notes-tvOS.release.xcconfig"; path = "Target Support Files/Pods-Notes-tvOS/Pods-Notes-tvOS.release.xcconfig"; sourceTree = "<group>"; };
- E87712D17CADE9D7C5DB6937 /* Pods-Notes-tvOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Notes-tvOSTests.release.xcconfig"; path = "Target Support Files/Pods-Notes-tvOSTests/Pods-Notes-tvOSTests.release.xcconfig"; sourceTree = "<group>"; };
+ 36FE4CF96F141D64B0A0C1FF /* libPods-Notes-tvOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Notes-tvOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 44BBC9BD618AE3BC78E5ED24 /* Pods-Notes-tvOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Notes-tvOS.release.xcconfig"; path = "Target Support Files/Pods-Notes-tvOS/Pods-Notes-tvOS.release.xcconfig"; sourceTree = "<group>"; };
+ 58ACEDFE1446560AB8875A8B /* Pods-Notes.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Notes.debug.xcconfig"; path = "Target Support Files/Pods-Notes/Pods-Notes.debug.xcconfig"; sourceTree = "<group>"; };
+ 655E772E2380917B0049D452 /* Quicksand-Bold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Quicksand-Bold.ttf"; sourceTree = "<group>"; };
+ 655E772F2380917B0049D452 /* Ionicons.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = Ionicons.ttf; sourceTree = "<group>"; };
+ 655E77302380917B0049D452 /* Quicksand-Medium.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Quicksand-Medium.ttf"; sourceTree = "<group>"; };
+ 655E77312380917B0049D452 /* Quicksand-Regular.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Quicksand-Regular.ttf"; sourceTree = "<group>"; };
+ 655E77322380917B0049D452 /* Quicksand-SemiBold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Quicksand-SemiBold.ttf"; sourceTree = "<group>"; };
+ 655E77332380917B0049D452 /* Quicksand-Light.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Quicksand-Light.ttf"; sourceTree = "<group>"; };
+ 6FB6DE7AD66669BE4A951A9E /* Pods-Notes-tvOSTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Notes-tvOSTests.debug.xcconfig"; path = "Target Support Files/Pods-Notes-tvOSTests/Pods-Notes-tvOSTests.debug.xcconfig"; sourceTree = "<group>"; };
+ 87D2DFC238DED597B12E218E /* Pods-Notes-tvOSTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Notes-tvOSTests.release.xcconfig"; path = "Target Support Files/Pods-Notes-tvOSTests/Pods-Notes-tvOSTests.release.xcconfig"; sourceTree = "<group>"; };
+ 89ABD2DB3BB5CC5C08F50BC5 /* libPods-NotesTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-NotesTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 90C9DE97291FDC5E86C0D472 /* Pods-NotesTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NotesTests.release.xcconfig"; path = "Target Support Files/Pods-NotesTests/Pods-NotesTests.release.xcconfig"; sourceTree = "<group>"; };
+ 985D14A8C7261D8065A696A9 /* Pods-Notes.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Notes.release.xcconfig"; path = "Target Support Files/Pods-Notes/Pods-Notes.release.xcconfig"; sourceTree = "<group>"; };
+ CF69C4930BA6763C1B79A24E /* Pods-NotesTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NotesTests.debug.xcconfig"; path = "Target Support Files/Pods-NotesTests/Pods-NotesTests.debug.xcconfig"; sourceTree = "<group>"; };
+ E612868E6257D30458E07404 /* Pods-Notes-tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Notes-tvOS.debug.xcconfig"; path = "Target Support Files/Pods-Notes-tvOS/Pods-Notes-tvOS.debug.xcconfig"; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; };
+ FF962EEB8D0C9B17231DA150 /* libPods-Notes.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Notes.a"; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -74,7 +86,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 0265C5655CBE7F4432D01EEE /* libPods-NotesTests.a in Frameworks */,
+ 4FFCB73C43232E07469EEB31 /* libPods-NotesTests.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -82,7 +94,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 776DEED0128D2A98D15831A3 /* libPods-Notes.a in Frameworks */,
+ 58062BBC8B02A59BE1E73AED /* libPods-Notes.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -90,7 +102,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- 7B39AAF3FB83D259D6130589 /* libPods-Notes-tvOS.a in Frameworks */,
+ 2AC5332F791F4AC973615596 /* libPods-Notes-tvOS.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -98,7 +110,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- C0DB4388558E39CA1E0E4F9B /* libPods-Notes-tvOSTests.a in Frameworks */,
+ 773523A6669C9373D8945A06 /* libPods-Notes-tvOSTests.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -141,10 +153,10 @@
children = (
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
ED2971642150620600B7C4FE /* JavaScriptCore.framework */,
- 800EA07E598E4BBB8FE8B11D /* libPods-Notes.a */,
- 7CE2F5E64E98B66EDD419442 /* libPods-Notes-tvOS.a */,
- 3ADF846363B24884EEF31551 /* libPods-Notes-tvOSTests.a */,
- 3F85B072A9101A4F10079594 /* libPods-NotesTests.a */,
+ FF962EEB8D0C9B17231DA150 /* libPods-Notes.a */,
+ 36FE4CF96F141D64B0A0C1FF /* libPods-Notes-tvOS.a */,
+ 177E12D91F5B0732079F75AB /* libPods-Notes-tvOSTests.a */,
+ 89ABD2DB3BB5CC5C08F50BC5 /* libPods-NotesTests.a */,
);
name = Frameworks;
sourceTree = "<group>";
@@ -152,19 +164,26 @@
3CA9D829B1E214638250EDE6 /* Pods */ = {
isa = PBXGroup;
children = (
- 24246364B44603C858C2E6E0 /* Pods-Notes.debug.xcconfig */,
- C234464C87B858C5C8023DCE /* Pods-Notes.release.xcconfig */,
- 853AF191B79735F4930294C3 /* Pods-Notes-tvOS.debug.xcconfig */,
- C8F1A03DBCAA55891342B0DA /* Pods-Notes-tvOS.release.xcconfig */,
- 002AB39E542F9A8EA72D1B4A /* Pods-Notes-tvOSTests.debug.xcconfig */,
- E87712D17CADE9D7C5DB6937 /* Pods-Notes-tvOSTests.release.xcconfig */,
- 22D7639D69F43D9B28BD47F5 /* Pods-NotesTests.debug.xcconfig */,
- 4196567D52888E3126B2B403 /* Pods-NotesTests.release.xcconfig */,
- );
- name = Pods;
+ 58ACEDFE1446560AB8875A8B /* Pods-Notes.debug.xcconfig */,
+ 985D14A8C7261D8065A696A9 /* Pods-Notes.release.xcconfig */,
+ E612868E6257D30458E07404 /* Pods-Notes-tvOS.debug.xcconfig */,
+ 44BBC9BD618AE3BC78E5ED24 /* Pods-Notes-tvOS.release.xcconfig */,
+ 6FB6DE7AD66669BE4A951A9E /* Pods-Notes-tvOSTests.debug.xcconfig */,
+ 87D2DFC238DED597B12E218E /* Pods-Notes-tvOSTests.release.xcconfig */,
+ CF69C4930BA6763C1B79A24E /* Pods-NotesTests.debug.xcconfig */,
+ 90C9DE97291FDC5E86C0D472 /* Pods-NotesTests.release.xcconfig */,
+ );
path = Pods;
sourceTree = "<group>";
};
+ 655E772D2380917B0049D452 /* Fonts */ = {
+ isa = PBXGroup;
+ children = (
+ 655E772F2380917B0049D452 /* Ionicons.ttf */,
+ );
+ path = Fonts;
+ sourceTree = "<group>";
+ };
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
isa = PBXGroup;
children = (
@@ -175,6 +194,12 @@
83CBB9F61A601CBA00E9B192 = {
isa = PBXGroup;
children = (
+ 655E772E2380917B0049D452 /* Quicksand-Bold.ttf */,
+ 655E77302380917B0049D452 /* Quicksand-Medium.ttf */,
+ 655E77312380917B0049D452 /* Quicksand-Regular.ttf */,
+ 655E77322380917B0049D452 /* Quicksand-SemiBold.ttf */,
+ 655E77332380917B0049D452 /* Quicksand-Light.ttf */,
+ 655E772D2380917B0049D452 /* Fonts */,
13B07FAE1A68108700A75B9A /* Notes */,
832341AE1AAA6A7D00B99B32 /* Libraries */,
00E356EF1AD99517003FC87E /* NotesTests */,
@@ -205,7 +230,7 @@
isa = PBXNativeTarget;
buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "NotesTests" */;
buildPhases = (
- 623F10BB5F0141410EE959BE /* [CP] Check Pods Manifest.lock */,
+ 256E591F8E764C6F21B45F05 /* [CP] Check Pods Manifest.lock */,
00E356EA1AD99517003FC87E /* Sources */,
00E356EB1AD99517003FC87E /* Frameworks */,
00E356EC1AD99517003FC87E /* Resources */,
@@ -224,12 +249,13 @@
isa = PBXNativeTarget;
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Notes" */;
buildPhases = (
- 21D02E47ACD9F89B6A814436 /* [CP] Check Pods Manifest.lock */,
+ E53F4F043A0B21F385480BBE /* [CP] Check Pods Manifest.lock */,
FD10A7F022414F080027D42C /* Start Packager */,
13B07F871A680F5B00A75B9A /* Sources */,
13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
+ 8190C2904E505A29F2953971 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
@@ -244,7 +270,7 @@
isa = PBXNativeTarget;
buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Notes-tvOS" */;
buildPhases = (
- C7E9046E7B0868CEAB97887B /* [CP] Check Pods Manifest.lock */,
+ BDF073639B3193387D3F311B /* [CP] Check Pods Manifest.lock */,
FD10A7F122414F3F0027D42C /* Start Packager */,
2D02E4771E0B4A5D006451C7 /* Sources */,
2D02E4781E0B4A5D006451C7 /* Frameworks */,
@@ -264,7 +290,7 @@
isa = PBXNativeTarget;
buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "Notes-tvOSTests" */;
buildPhases = (
- F041AFD958C38AA56F2551C3 /* [CP] Check Pods Manifest.lock */,
+ CED2C14E9E2282F3A286CDF6 /* [CP] Check Pods Manifest.lock */,
2D02E48C1E0B4A5D006451C7 /* Sources */,
2D02E48D1E0B4A5D006451C7 /* Frameworks */,
2D02E48E1E0B4A5D006451C7 /* Resources */,
@@ -285,7 +311,7 @@
83CBB9F71A601CBA00E9B192 /* Project object */ = {
isa = PBXProject;
attributes = {
- LastUpgradeCheck = 0940;
+ LastUpgradeCheck = 1110;
ORGANIZATIONNAME = Facebook;
TargetAttributes = {
00E356ED1AD99517003FC87E = {
@@ -308,6 +334,7 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
+ English,
en,
Base,
);
@@ -337,7 +364,13 @@
buildActionMask = 2147483647;
files = (
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
+ 655E77372380917B0049D452 /* Quicksand-Regular.ttf in Resources */,
+ 655E77342380917B0049D452 /* Quicksand-Bold.ttf in Resources */,
+ 655E77352380917B0049D452 /* Ionicons.ttf in Resources */,
13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
+ 655E77382380917B0049D452 /* Quicksand-SemiBold.ttf in Resources */,
+ 655E77362380917B0049D452 /* Quicksand-Medium.ttf in Resources */,
+ 655E77392380917B0049D452 /* Quicksand-Light.ttf in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -371,9 +404,9 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
+ shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
};
- 21D02E47ACD9F89B6A814436 /* [CP] Check Pods Manifest.lock */ = {
+ 256E591F8E764C6F21B45F05 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@@ -388,7 +421,7 @@
outputFileListPaths = (
);
outputPaths = (
- "$(DERIVED_FILE_DIR)/Pods-Notes-checkManifestLockResult.txt",
+ "$(DERIVED_FILE_DIR)/Pods-NotesTests-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
@@ -409,7 +442,51 @@
shellPath = /bin/sh;
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
};
- 623F10BB5F0141410EE959BE /* [CP] Check Pods Manifest.lock */ = {
+ 8190C2904E505A29F2953971 /* [CP] Copy Pods Resources */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-Notes/Pods-Notes-resources.sh",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Entypo.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Feather.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
+ );
+ name = "[CP] Copy Pods Resources";
+ outputPaths = (
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AntDesign.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Entypo.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/EvilIcons.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Feather.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Brands.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Regular.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Solid.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Fontisto.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Foundation.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialCommunityIcons.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialIcons.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SimpleLineIcons.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Zocial.ttf",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Notes/Pods-Notes-resources.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
+ BDF073639B3193387D3F311B /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@@ -424,14 +501,14 @@
outputFileListPaths = (
);
outputPaths = (
- "$(DERIVED_FILE_DIR)/Pods-NotesTests-checkManifestLockResult.txt",
+ "$(DERIVED_FILE_DIR)/Pods-Notes-tvOS-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
- C7E9046E7B0868CEAB97887B /* [CP] Check Pods Manifest.lock */ = {
+ CED2C14E9E2282F3A286CDF6 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@@ -446,14 +523,14 @@
outputFileListPaths = (
);
outputPaths = (
- "$(DERIVED_FILE_DIR)/Pods-Notes-tvOS-checkManifestLockResult.txt",
+ "$(DERIVED_FILE_DIR)/Pods-Notes-tvOSTests-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
- F041AFD958C38AA56F2551C3 /* [CP] Check Pods Manifest.lock */ = {
+ E53F4F043A0B21F385480BBE /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@@ -468,7 +545,7 @@
outputFileListPaths = (
);
outputPaths = (
- "$(DERIVED_FILE_DIR)/Pods-Notes-tvOSTests-checkManifestLockResult.txt",
+ "$(DERIVED_FILE_DIR)/Pods-Notes-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
@@ -580,7 +657,7 @@
/* Begin XCBuildConfiguration section */
00E356F61AD99517003FC87E /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 22D7639D69F43D9B28BD47F5 /* Pods-NotesTests.debug.xcconfig */;
+ baseConfigurationReference = CF69C4930BA6763C1B79A24E /* Pods-NotesTests.debug.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
GCC_PREPROCESSOR_DEFINITIONS = (
@@ -603,7 +680,7 @@
};
00E356F71AD99517003FC87E /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 4196567D52888E3126B2B403 /* Pods-NotesTests.release.xcconfig */;
+ baseConfigurationReference = 90C9DE97291FDC5E86C0D472 /* Pods-NotesTests.release.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
COPY_PHASE_STRIP = NO;
@@ -623,7 +700,7 @@
};
13B07F941A680F5B00A75B9A /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 24246364B44603C858C2E6E0 /* Pods-Notes.debug.xcconfig */;
+ baseConfigurationReference = 58ACEDFE1446560AB8875A8B /* Pods-Notes.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CURRENT_PROJECT_VERSION = 1;
@@ -643,7 +720,7 @@
};
13B07F951A680F5B00A75B9A /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = C234464C87B858C5C8023DCE /* Pods-Notes.release.xcconfig */;
+ baseConfigurationReference = 985D14A8C7261D8065A696A9 /* Pods-Notes.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CURRENT_PROJECT_VERSION = 1;
@@ -662,7 +739,7 @@
};
2D02E4971E0B4A5E006451C7 /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 853AF191B79735F4930294C3 /* Pods-Notes-tvOS.debug.xcconfig */;
+ baseConfigurationReference = E612868E6257D30458E07404 /* Pods-Notes-tvOS.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
@@ -690,7 +767,7 @@
};
2D02E4981E0B4A5E006451C7 /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = C8F1A03DBCAA55891342B0DA /* Pods-Notes-tvOS.release.xcconfig */;
+ baseConfigurationReference = 44BBC9BD618AE3BC78E5ED24 /* Pods-Notes-tvOS.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = "App Icon & Top Shelf Image";
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
@@ -718,7 +795,7 @@
};
2D02E4991E0B4A5E006451C7 /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 002AB39E542F9A8EA72D1B4A /* Pods-Notes-tvOSTests.debug.xcconfig */;
+ baseConfigurationReference = 6FB6DE7AD66669BE4A951A9E /* Pods-Notes-tvOSTests.debug.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ANALYZER_NONNULL = YES;
@@ -745,7 +822,7 @@
};
2D02E49A1E0B4A5E006451C7 /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = E87712D17CADE9D7C5DB6937 /* Pods-Notes-tvOSTests.release.xcconfig */;
+ baseConfigurationReference = 87D2DFC238DED597B12E218E /* Pods-Notes-tvOSTests.release.xcconfig */;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_ANALYZER_NONNULL = YES;
@@ -774,6 +851,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
@@ -827,6 +905,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
diff --git a/apps/mobile/ios/Notes.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/apps/mobile/ios/Notes.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 000000000..919434a62
--- /dev/null
+++ b/apps/mobile/ios/Notes.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:">
+ </FileRef>
+</Workspace>
diff --git a/apps/mobile/ios/Notes.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/mobile/ios/Notes.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 000000000..18d981003
--- /dev/null
+++ b/apps/mobile/ios/Notes.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDEDidComputeMac32BitWarning</key>
+ <true/>
+</dict>
+</plist>
diff --git a/apps/mobile/ios/Notes.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/apps/mobile/ios/Notes.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 000000000..f9b0d7c5e
--- /dev/null
+++ b/apps/mobile/ios/Notes.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>PreviewsEnabled</key>
+ <false/>
+</dict>
+</plist>
diff --git a/apps/mobile/ios/Notes.xcodeproj/xcshareddata/xcschemes/Notes-tvOS.xcscheme b/apps/mobile/ios/Notes.xcodeproj/xcshareddata/xcschemes/Notes-tvOS.xcscheme
index 4840943fb..292c0767d 100644
--- a/apps/mobile/ios/Notes.xcodeproj/xcshareddata/xcschemes/Notes-tvOS.xcscheme
+++ b/apps/mobile/ios/Notes.xcodeproj/xcshareddata/xcschemes/Notes-tvOS.xcscheme
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
- LastUpgradeVersion = "0940"
+ LastUpgradeVersion = "1110"
version = "1.3">
<BuildAction
parallelizeBuildables = "NO"
@@ -55,6 +55,15 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
+ BuildableName = "Notes-tvOS.app"
+ BlueprintName = "Notes-tvOS"
+ ReferencedContainer = "container:Notes.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
@@ -67,17 +76,6 @@
</BuildableReference>
</TestableReference>
</Testables>
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
- BuildableName = "Notes-tvOS.app"
- BlueprintName = "Notes-tvOS"
- ReferencedContainer = "container:Notes.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
@@ -99,8 +97,6 @@
ReferencedContainer = "container:Notes.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
- <AdditionalOptions>
- </AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
diff --git a/apps/mobile/ios/Notes.xcodeproj/xcshareddata/xcschemes/Notes.xcscheme b/apps/mobile/ios/Notes.xcodeproj/xcshareddata/xcschemes/Notes.xcscheme
index 869b915b9..dcf9c7dbf 100644
--- a/apps/mobile/ios/Notes.xcodeproj/xcshareddata/xcschemes/Notes.xcscheme
+++ b/apps/mobile/ios/Notes.xcodeproj/xcshareddata/xcschemes/Notes.xcscheme
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
- LastUpgradeVersion = "0940"
+ LastUpgradeVersion = "1110"
version = "1.3">
<BuildAction
parallelizeBuildables = "NO"
@@ -55,6 +55,15 @@
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
+ BuildableName = "Notes.app"
+ BlueprintName = "Notes"
+ ReferencedContainer = "container:Notes.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
<Testables>
<TestableReference
skipped = "NO">
@@ -67,17 +76,6 @@
</BuildableReference>
</TestableReference>
</Testables>
- <MacroExpansion>
- <BuildableReference
- BuildableIdentifier = "primary"
- BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
- BuildableName = "Notes.app"
- BlueprintName = "Notes"
- ReferencedContainer = "container:Notes.xcodeproj">
- </BuildableReference>
- </MacroExpansion>
- <AdditionalOptions>
- </AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
@@ -99,8 +97,6 @@
ReferencedContainer = "container:Notes.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
- <AdditionalOptions>
- </AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
diff --git a/apps/mobile/ios/Notes.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/apps/mobile/ios/Notes.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 000000000..18d981003
--- /dev/null
+++ b/apps/mobile/ios/Notes.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>IDEDidComputeMac32BitWarning</key>
+ <true/>
+</dict>
+</plist>
diff --git a/apps/mobile/ios/Notes/Info.plist b/apps/mobile/ios/Notes/Info.plist
index 54a27870a..0e66fcbf1 100644
--- a/apps/mobile/ios/Notes/Info.plist
+++ b/apps/mobile/ios/Notes/Info.plist
@@ -39,6 +39,15 @@
</dict>
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
+ <key>UIAppFonts</key>
+ <array>
+ <string>Quicksand-SemiBold.ttf</string>
+ <string>Quicksand-Medium.ttf</string>
+ <string>Ionicons.ttf</string>
+ <string>Quicksand-Regular.ttf</string>
+ <string>Quicksand-Bold.ttf</string>
+ <string>Quicksand-Light.ttf</string>
+ </array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
diff --git a/apps/mobile/ios/Podfile.lock b/apps/mobile/ios/Podfile.lock
index 88203707f..678b95e25 100644
--- a/apps/mobile/ios/Podfile.lock
+++ b/apps/mobile/ios/Podfile.lock
@@ -217,12 +217,16 @@ PODS:
- React-cxxreact (= 0.61.4)
- React-jsi (= 0.61.4)
- ReactCommon/jscallinvoker (= 0.61.4)
+ - rn-fetch-blob (0.11.2):
+ - React-Core
- RNGestureHandler (1.5.0):
- React
- RNReanimated (1.4.0):
- React
- RNScreens (1.0.0-alpha.23):
- React
+ - RNVectorIcons (6.6.0):
+ - React
- Yoga (1.14.0)
DEPENDENCIES:
@@ -253,9 +257,11 @@ DEPENDENCIES:
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
- ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
+ - rn-fetch-blob (from `../node_modules/rn-fetch-blob`)
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
- RNReanimated (from `../node_modules/react-native-reanimated`)
- RNScreens (from `../node_modules/react-native-screens`)
+ - RNVectorIcons (from `../node_modules/react-native-vector-icons`)
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
SPEC REPOS:
@@ -311,12 +317,16 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/Libraries/Vibration"
ReactCommon:
:path: "../node_modules/react-native/ReactCommon"
+ rn-fetch-blob:
+ :path: "../node_modules/rn-fetch-blob"
RNGestureHandler:
:path: "../node_modules/react-native-gesture-handler"
RNReanimated:
:path: "../node_modules/react-native-reanimated"
RNScreens:
:path: "../node_modules/react-native-screens"
+ RNVectorIcons:
+ :path: "../node_modules/react-native-vector-icons"
Yoga:
:path: "../node_modules/react-native/ReactCommon/yoga"
@@ -346,9 +356,11 @@ SPEC CHECKSUMS:
React-RCTText: 21934e0a51d522abcd0a275407e80af45d6fd9ec
React-RCTVibration: 0f76400ee3cec6edb9c125da49fed279340d145a
ReactCommon: a6a294e7028ed67b926d29551aa9394fd989c24c
+ rn-fetch-blob: f525a73a78df9ed5d35e67ea65e79d53c15255bc
RNGestureHandler: a4ddde1ffc6e590c8127b8b7eabfdade45475c74
RNReanimated: b2ab0b693dddd2339bd2f300e770f6302d2e960c
RNScreens: f28b48b8345f2f5f39ed6195518291515032a788
+ RNVectorIcons: 0bb4def82230be1333ddaeee9fcba45f0b288ed4
Yoga: ba3d99dbee6c15ea6bbe3783d1f0cb1ffb79af0f
PODFILE CHECKSUM: c7f3c4928c6d0c850545a0a28079ac3abeed60a4
diff --git a/apps/mobile/src/assets/images/img.png b/apps/mobile/src/assets/images/img.png
index e69de29bb..bcfda266f 100755
Binary files a/apps/mobile/src/assets/images/img.png and b/apps/mobile/src/assets/images/img.png differ
diff --git a/apps/mobile/src/common/common.js b/apps/mobile/src/common/common.js
index cd27fbc57..f20e5e6a9 100755
--- a/apps/mobile/src/common/common.js
+++ b/apps/mobile/src/common/common.js
@@ -3,11 +3,11 @@
export function setColorScheme(
night = false,
bg = 'white',
- fg = '#0000FF',
+ fg = '#1790F3',
nav = '#f2f2f2',
pri = 'black',
sec = 'white',
- accent = '#0000FF',
+ accent = '#1790F3',
normal = 'black',
icon = ICONS_COLOR,
) {
@@ -27,11 +27,11 @@ export function setColorScheme(
export const COLOR_SCHEME = {
night: false,
bg: 'white',
- fg: '#0000FF',
+ fg: '#0560FF',
navbg: '#f2f2f2',
pri: 'black',
sec: 'white',
- accent: '#0000FF',
+ accent: '#0560FF',
normal: 'black',
icon: 'gray',
};
diff --git a/apps/mobile/src/components/Recents/index.js b/apps/mobile/src/components/Recents/index.js
index eb0699b5b..3a900fd03 100644
--- a/apps/mobile/src/components/Recents/index.js
+++ b/apps/mobile/src/components/Recents/index.js
@@ -19,26 +19,6 @@ export const RecentList = () => {
const [colors, setColors] = useState(COLOR_SCHEME);
return (
<>
- <View
- style={{
- flexDirection: 'row',
- justifyContent: 'space-between',
- alignItems: 'center',
- paddingHorizontal: '5%',
- marginTop: '7.5%',
- marginBottom: '0%',
- }}>
- <Text
- style={{
- fontSize: SIZE.lg,
- color: colors.icon,
- fontFamily: WEIGHT.regular,
- }}>
- Recents
- </Text>
- <Icon name="ios-albums" color={colors.icon} size={SIZE.xl} />
- </View>
-
<FlatList
data={[
{
diff --git a/apps/mobile/src/components/Reminder/index.js b/apps/mobile/src/components/Reminder/index.js
index e15e15fc4..6ef540c27 100644
--- a/apps/mobile/src/components/Reminder/index.js
+++ b/apps/mobile/src/components/Reminder/index.js
@@ -1,5 +1,5 @@
import React, {useState} from 'react';
-import {View, Text, TouchableOpacity} from 'react-native';
+import {View, Text, TouchableOpacity, Platform, Dimensions} from 'react-native';
import {
COLOR_SCHEME,
SIZE,
@@ -11,7 +11,9 @@ import {
WEIGHT,
} from '../../common/common';
import Icon from 'react-native-vector-icons/Ionicons';
-
+import {getElevation} from '../../utils/utils';
+const w = Dimensions.get('window').width;
+const h = Dimensions.get('window').height;
export const Reminder = () => {
const [colors, setColors] = useState(COLOR_SCHEME);
@@ -19,12 +21,12 @@ export const Reminder = () => {
<TouchableOpacity
activeOpacity={opacity}
style={{
+ ...getElevation(10),
width: '90%',
- marginVertical: '5%',
+ marginVertical: Platform.OS === 'ios' ? h * 0.02 : '5%',
alignSelf: 'center',
borderRadius: br,
backgroundColor: colors.accent,
- elevation: 5,
paddingHorizontal: ph,
paddingVertical: 5,
}}>
diff --git a/apps/mobile/src/components/SearchInput/index.js b/apps/mobile/src/components/SearchInput/index.js
index dfe7eaa6b..956cc1cbc 100644
--- a/apps/mobile/src/components/SearchInput/index.js
+++ b/apps/mobile/src/components/SearchInput/index.js
@@ -1,5 +1,5 @@
import React, {Fragment, useEffect, useState} from 'react';
-import {View, TextInput} from 'react-native';
+import {View, TextInput, Platform} from 'react-native';
import {
COLOR_SCHEME,
SIZE,
@@ -11,12 +11,14 @@ import {
WEIGHT,
} from '../../common/common';
import Icon from 'react-native-vector-icons/Ionicons';
+import {getElevation} from '../../utils/utils';
export const Search = () => {
const [colors, setColors] = useState(COLOR_SCHEME);
return (
<View
style={{
+ ...getElevation(10),
flexDirection: 'row',
justifyContent: 'space-between',
alignItems: 'center',
@@ -25,15 +27,16 @@ export const Search = () => {
alignSelf: 'center',
borderRadius: br,
paddingHorizontal: ph,
- paddingVertical: pv - 5,
- elevation: 5,
- marginTop: 25,
+ paddingVertical: Platform.OS == 'ios' ? pv : pv - 5,
+ marginTop: 10,
+ marginBottom: 25,
}}>
<TextInput
style={{
fontFamily: WEIGHT.regular,
maxWidth: '90%',
width: '90%',
+ fontSize: SIZE.md,
}}
numberOfLines={1}
placeholder="Search your notes"
diff --git a/apps/mobile/src/services/NavigationService.js b/apps/mobile/src/services/NavigationService.js
index e28b4d7a5..b76291a9d 100755
--- a/apps/mobile/src/services/NavigationService.js
+++ b/apps/mobile/src/services/NavigationService.js
@@ -1,17 +1,21 @@
-import { createAppContainer, NavigationActions } from "react-navigation";
-import {createStackNavigator} from "react-navigation-stack";
-import Home from "../views/Home/index";
+import {createAppContainer, NavigationActions} from 'react-navigation';
+import {createStackNavigator} from 'react-navigation-stack';
+import Home from '../views/Home/index';
+import Editor from '../views/Editor';
const TopLevelNavigator = createStackNavigator(
- {
- Home: {
- screen: Home
- }
+ {
+ Home: {
+ screen: Home,
},
- {
- initialRouteName: "Home"
- }
- );
+ Editor: {
+ screen: Editor,
+ },
+ },
+ {
+ initialRouteName: 'Home',
+ },
+);
export const AppContainer = createAppContainer(TopLevelNavigator);
@@ -25,8 +29,8 @@ function navigate(routeName, params) {
_navigator.dispatch(
NavigationActions.navigate({
routeName,
- params
- })
+ params,
+ }),
);
}
@@ -34,5 +38,5 @@ function navigate(routeName, params) {
export default {
navigate,
- setTopLevelNavigator
-};
\ No newline at end of file
+ setTopLevelNavigator,
+};
diff --git a/apps/mobile/src/utils/utils.js b/apps/mobile/src/utils/utils.js
index e69de29bb..c476c86ec 100755
--- a/apps/mobile/src/utils/utils.js
+++ b/apps/mobile/src/utils/utils.js
@@ -0,0 +1,9 @@
+export const getElevation = elevation => {
+ return {
+ elevation,
+ shadowColor: 'black',
+ shadowOffset: {width: 0, height: 0.4 * elevation},
+ shadowOpacity: 0.1,
+ shadowRadius: 0.8 * elevation,
+ };
+};
diff --git a/apps/mobile/src/views/Editor/index.js b/apps/mobile/src/views/Editor/index.js
new file mode 100755
index 000000000..835e48637
--- /dev/null
+++ b/apps/mobile/src/views/Editor/index.js
@@ -0,0 +1,98 @@
+import React, {useEffect, useState, createRef} from 'react';
+import {
+ ScrollView,
+ View,
+ Text,
+ TouchableOpacity,
+ TextInput,
+ SafeAreaView,
+} from 'react-native';
+import {
+ COLOR_SCHEME,
+ SIZE,
+ br,
+ ph,
+ pv,
+ opacity,
+ FONT,
+ WEIGHT,
+} from '../../common/common';
+import Icon from 'react-native-vector-icons/Ionicons';
+
+const saveText = (type, title, content) => {
+ let data = {
+ type,
+ title,
+ headline: content.slice(0, 60),
+ timestamp: Date.now(),
+ };
+};
+
+const Editor = ({navigation}) => {
+ const [colors, setColors] = useState(COLOR_SCHEME);
+ let _heading = '';
+ let _text = '';
+ const _textRender = createRef();
+
+ return (
+ <SafeAreaView>
+ <View
+ style={{
+ width: '100%',
+ paddingHorizontal: '5%',
+ paddingVertical: pv + 5,
+ borderBottomWidth: 1,
+ borderBottomColor: colors.navbg,
+ alignSelf: 'center',
+ }}>
+ <Icon name="ios-arrow-back" size={SIZE.xl} color="black" />
+ </View>
+
+ <TextInput
+ style={{
+ width: '100%',
+ maxWidth: '100%',
+ textAlignVertical: 'top',
+ fontSize: SIZE.xl,
+ fontFamily: WEIGHT.semibold,
+ paddingHorizontal: '5%',
+ paddingVertical: ph,
+ }}
+ allowFontScaling={true}
+ adjustsFontSizeToFit={true}
+ maxLength={50}
+ numberOfLines={1}
+ placeholderTextColor={colors.icon}
+ placeholder="Untitled Note"
+ onChangeText={value => {
+ _heading = value;
+ }}
+ />
+
+ <TextInput
+ ref={_textRender}
+ style={{
+ width: '100%',
+ maxWidth: '100%',
+ textAlignVertical: 'top',
+ fontSize: SIZE.md,
+ fontFamily: WEIGHT.semibold,
+ paddingHorizontal: '5%',
+ paddingVertical: ph,
+ }}
+ multiline={true}
+ placeholder="Start writing"
+ placeholderTextColor={colors.icon}
+ onChangeText={value => {
+ _text = value;
+ }}
+ />
+ </SafeAreaView>
+ );
+};
+
+Editor.navigationOptions = {
+ header: null,
+};
+
+export default Editor;
diff --git a/apps/mobile/src/views/Home/index.js b/apps/mobile/src/views/Home/index.js
index bf0d7b6cc..91f836663 100755
--- a/apps/mobile/src/views/Home/index.js
+++ b/apps/mobile/src/views/Home/index.js
@@ -1,6 +1,15 @@
import React, {useEffect, useState} from 'react';
-import {ScrollView, View, Text, TouchableOpacity} from 'react-native';
-
+import {
+ ScrollView,
+ View,
+ Text,
+ TouchableOpacity,
+ Dimensions,
+ Image,
+ SafeAreaView,
+ Platform,
+} from 'react-native';
+import NavigationService from '../../services/NavigationService';
import {
COLOR_SCHEME,
SIZE,
@@ -11,123 +20,356 @@ import {
FONT,
WEIGHT,
} from '../../common/common';
+import SideMenu from 'react-native-side-menu';
import {styles} from './styles';
import Icon from 'react-native-vector-icons/Ionicons';
import {Search} from '../../components/SearchInput';
import {Reminder} from '../../components/Reminder';
import {RecentList} from '../../components/Recents';
+import {getElevation} from '../../utils/utils';
+const w = Dimensions.get('window').width;
+const h = Dimensions.get('window').height;
export const Home = ({navigation}) => {
const [loading, setLoading] = useState(true);
const [colors, setColors] = useState(COLOR_SCHEME);
- useEffect(() => {
- setTimeout(() => {
- setLoading(false);
- }, 1000);
- });
+ const RenderMenu = (
+ <SafeAreaView
+ style={{
+ height: '100%',
+ backgroundColor: colors.accent,
+ }}>
+ <View
+ style={{
+ height: '25%',
+ width: '100%',
+ justifyContent: 'center',
+ alignItems: 'center',
+ alignSelf: 'center',
+ }}>
+ <Image
+ style={{
+ width: 80,
+ height: 80,
+ borderRadius: 100,
+ }}
+ source={require('../../assets/images/img.png')}
+ />
+ <Text
+ style={{
+ fontFamily: WEIGHT.regular,
+ color: 'white',
+ fontSize: SIZE.md,
+ marginTop: 10,
+ }}>
+ Hi, Ammar!
+ </Text>
- return (
- <View style={styles.container}>
- <Search />
+ <Text
+ style={{
+ fontFamily: WEIGHT.regular,
+ color: 'white',
+ fontSize: SIZE.xs,
+ marginTop: 10,
+ }}>
+ Usage: 80.45/100 MB
+ </Text>
+
+ <View
+ style={{
+ borderRadius: 2.5,
+ backgroundColor: 'white',
+ ...getElevation(10),
+ marginTop: 10,
+ paddingHorizontal: 5,
+ paddingVertical: 2,
+ }}>
+ <Text
+ style={{
+ fontFamily: WEIGHT.regular,
+
+ fontSize: SIZE.xxs,
+ }}>
+ Basic User
+ </Text>
+ </View>
+ </View>
- <ScrollView
- horizontal={true}
+ <View
style={{
- paddingHorizontal: '5%',
- height: 200,
- }}
- showsHorizontalScrollIndicator={false}
- contentContainerStyle={{
- justifyContent: 'flex-start',
- alignItems: 'center',
- flexDirection: 'row',
+ ...getElevation(5),
+ backgroundColor: 'white',
+ width: '90%',
+ alignSelf: 'center',
+ height: '60%',
+ marginVertical: 10,
+ borderRadius: 5,
}}>
- <TouchableOpacity
- activeOpacity={opacity}
+ <View
style={{
- width: 100,
- height: 100,
- borderRadius: br,
- backgroundColor: colors.accent,
- justifyContent: 'center',
+ backgroundColor: 'white',
+ width: '100%',
+ alignSelf: 'center',
+ flexDirection: 'row',
+ justifyContent: 'flex-start',
alignItems: 'center',
- elevation: 5,
- marginRight: 30,
+ paddingHorizontal: ph,
+ marginVertical: 10,
}}>
- <View
+ <Icon
style={{
- justifyContent: 'center',
- alignItems: 'center',
+ width: 30,
+ }}
+ name="ios-home"
+ color={colors.icon}
+ size={SIZE.lg}
+ />
+ <Text
+ style={{
+ fontFamily: WEIGHT.medium,
+ fontSize: SIZE.sm,
+ marginTop: -5,
}}>
- <Icon name="md-add" color="white" size={SIZE.xxl} />
- </View>
- </TouchableOpacity>
-
- <TouchableOpacity
- activeOpacity={opacity}
+ Home
+ </Text>
+ </View>
+ <View
style={{
- width: 100,
- height: 100,
- borderRadius: br,
- backgroundColor: '#f0f0f0',
- justifyContent: 'center',
+ backgroundColor: 'white',
+ width: '100%',
+ alignSelf: 'center',
+ flexDirection: 'row',
+ justifyContent: 'flex-start',
alignItems: 'center',
- elevation: 5,
+ paddingHorizontal: ph,
+ marginVertical: 10,
}}>
- <View
+ <Icon
style={{
- justifyContent: 'center',
- alignItems: 'center',
+ width: 30,
+ }}
+ name="ios-heart"
+ color={colors.icon}
+ size={SIZE.lg}
+ />
+ <Text
+ style={{
+ fontFamily: WEIGHT.medium,
+ fontSize: SIZE.sm,
+ marginTop: -5,
}}>
- <Icon name="ios-clock" color={colors.icon} size={SIZE.xxl} />
- <Text
- style={{
- fontSize: SIZE.sm - 2,
- color: colors.icon,
- fontFamily: WEIGHT.regular,
- }}>
- Reminders
- </Text>
- </View>
- </TouchableOpacity>
+ Favourites
+ </Text>
+ </View>
+ <View
+ style={{
+ backgroundColor: 'white',
+ width: '100%',
+ alignSelf: 'center',
+ flexDirection: 'row',
+ justifyContent: 'flex-start',
+ alignItems: 'center',
+ paddingHorizontal: ph,
+ marginVertical: 10,
+ }}>
+ <Icon
+ style={{
+ width: 30,
+ }}
+ name="ios-settings"
+ color={colors.icon}
+ size={SIZE.lg}
+ />
+ <Text
+ style={{
+ fontFamily: WEIGHT.medium,
+ fontSize: SIZE.sm,
+ marginTop: -5,
+ }}>
+ Settings
+ </Text>
+ </View>
+ <View
+ style={{
+ backgroundColor: 'white',
+ width: '100%',
+ alignSelf: 'center',
+ flexDirection: 'row',
+ justifyContent: 'flex-start',
+ alignItems: 'center',
+ paddingHorizontal: ph,
+ marginVertical: 10,
+ }}>
+ <Icon
+ style={{
+ width: 30,
+ }}
+ name="ios-sync"
+ color={colors.icon}
+ size={SIZE.lg}
+ />
+ <Text
+ style={{
+ fontFamily: WEIGHT.medium,
+ fontSize: SIZE.sm,
+ marginTop: -5,
+ }}>
+ Sync
+ </Text>
+ </View>
+ </View>
+
+ <View
+ style={{
+ ...getElevation(5),
+ backgroundColor: '#F3A712',
- <TouchableOpacity
- activeOpacity={opacity}
+ width: '90%',
+ alignSelf: 'center',
+ borderRadius: 5,
+ flexDirection: 'row',
+ justifyContent: 'space-between',
+ alignItems: 'center',
+ height: '5%',
+ paddingHorizontal: ph,
+ marginVertical: 10,
+ }}>
+ <Text
+ style={{
+ fontFamily: WEIGHT.medium,
+ color: 'white',
+ }}>
+ Upgrade to Pro
+ </Text>
+
+ <View
style={{
- width: 100,
- height: 100,
- borderRadius: br,
- backgroundColor: '#f0f0f0',
- justifyContent: 'center',
+ ...getElevation(5),
+ paddingHorizontal: ph,
+ backgroundColor: 'white',
+ paddingVertical: pv - 8,
+ borderRadius: 5,
+ }}>
+ <Icon name="ios-star" color="#FCBA04" size={SIZE.lg} />
+ </View>
+ </View>
+ </SafeAreaView>
+ );
+
+ let data = [
+ {
+ name: '',
+ icon: 'md-add',
+ func: () => {
+ NavigationService.navigate('Editor');
+ },
+ },
+ {
+ name: 'Reminders',
+ icon: 'ios-clock',
+ func: () => {},
+ },
+ {
+ name: 'Lists',
+ icon: 'ios-list',
+ func: () => {},
+ },
+ ];
+
+ useEffect(() => {
+ setTimeout(() => {
+ setLoading(false);
+ }, 1000);
+ });
+
+ return (
+ <SideMenu menu={RenderMenu} openMenuOffset={w / 1.5}>
+ <SafeAreaView style={styles.container}>
+ <View
+ style={{
+ flexDirection: 'row',
+ justifyContent: 'space-between',
alignItems: 'center',
- elevation: 5,
- marginLeft: 30,
- marginRight: 30,
+ paddingHorizontal: '5%',
+ marginTop: Platform.OS == 'ios' ? h * 0.02 : '7.5%',
+ marginBottom: h * 0.02,
}}>
- <View
+ <Text
style={{
- justifyContent: 'center',
- alignItems: 'center',
+ fontSize: SIZE.xxl,
+ color: colors.pri,
+ fontFamily: WEIGHT.bold,
}}>
- <Icon name="ios-list" color={colors.icon} size={SIZE.xxl} />
- <Text
+ Notes
+ </Text>
+ <Icon name="md-more" color={colors.icon} size={SIZE.xxxl} />
+ </View>
+
+ <Search />
+
+ <ScrollView
+ horizontal={true}
+ style={{
+ paddingHorizontal: '4%',
+ height: 200,
+ }}
+ showsHorizontalScrollIndicator={false}
+ contentContainerStyle={{
+ justifyContent: 'flex-start',
+ alignItems: 'center',
+ flexDirection: 'row',
+ }}>
+ {data.map(item => (
+ <TouchableOpacity
+ onPress={item.func}
+ activeOpacity={opacity}
style={{
- fontSize: SIZE.sm - 2,
- color: colors.icon,
- fontFamily: WEIGHT.regular,
+ ...getElevation(5),
+ width: 100,
+ height: 100,
+ borderRadius: br,
+ backgroundColor:
+ item.icon === 'md-add' ? colors.accent : '#f0f0f0',
+ justifyContent: 'center',
+ alignItems: 'center',
+
+ marginRight: 30,
+ marginLeft: 5,
}}>
- Lists
- </Text>
- </View>
- </TouchableOpacity>
- </ScrollView>
+ <View
+ style={{
+ justifyContent: 'center',
+ alignItems: 'center',
+ }}>
+ <Icon
+ name={item.icon}
+ color={item.icon === 'md-add' ? 'white' : colors.icon}
+ size={SIZE.xxl}
+ />
+ {item.name !== '' ? (
+ <Text
+ style={{
+ fontSize: SIZE.sm - 2,
+ color: colors.icon,
+ fontFamily: WEIGHT.regular,
+ }}>
+ {item.name}
+ </Text>
+ ) : (
+ undefined
+ )}
+ </View>
+ </TouchableOpacity>
+ ))}
+ </ScrollView>
- <Reminder />
+ <Reminder />
- <RecentList />
- </View>
+ <RecentList />
+ </SafeAreaView>
+ </SideMenu>
);
};
diff --git a/apps/mobile/src/views/Home/styles.js b/apps/mobile/src/views/Home/styles.js
index c27d6b248..2cef40208 100644
--- a/apps/mobile/src/views/Home/styles.js
+++ b/apps/mobile/src/views/Home/styles.js
@@ -7,5 +7,6 @@ export const styles = StyleSheet.create({
height: '100%',
alignSelf: 'center',
height: '100%',
+ backgroundColor: 'white',
},
});
diff --git a/apps/mobile/src/views/Second/index.js b/apps/mobile/src/views/Second/index.js
deleted file mode 100755
index e69de29bb..000000000