Skip to content

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

some minor fixes

ammarahm-ed72575692cb6c
diff --git a/apps/mobile/ios/Podfile.lock b/apps/mobile/ios/Podfile.lock
index 063c4da46..2ee6bafe2 100644
--- a/apps/mobile/ios/Podfile.lock
+++ b/apps/mobile/ios/Podfile.lock
@@ -309,6 +309,8 @@ PODS:
- ReactCommon/callinvoker (= 0.62.2)
- rn-fetch-blob (0.11.2):
- React-Core
+ - RNCMaskedView (0.1.9):
+ - React
- RNGestureHandler (1.6.1):
- React
- RNReanimated (1.8.0):
@@ -378,6 +380,7 @@ DEPENDENCIES:
- ReactCommon/callinvoker (from `../node_modules/react-native/ReactCommon`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
- rn-fetch-blob (from `../node_modules/rn-fetch-blob`)
+ - "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)"
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
- RNReanimated (from `../node_modules/react-native-reanimated`)
- RNScreens (from `../node_modules/react-native-screens`)
@@ -465,6 +468,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon"
rn-fetch-blob:
:path: "../node_modules/rn-fetch-blob"
+ RNCMaskedView:
+ :path: "../node_modules/@react-native-community/masked-view"
RNGestureHandler:
:path: "../node_modules/react-native-gesture-handler"
RNReanimated:
@@ -523,6 +528,7 @@ SPEC CHECKSUMS:
React-RCTVibration: 4356114dbcba4ce66991096e51a66e61eda51256
ReactCommon: ed4e11d27609d571e7eee8b65548efc191116eb3
rn-fetch-blob: f525a73a78df9ed5d35e67ea65e79d53c15255bc
+ RNCMaskedView: 71fc32d971f03b7f03d6ab6b86b730c4ee64f5b6
RNGestureHandler: 8f09cd560f8d533eb36da5a6c5a843af9f056b38
RNReanimated: 955cf4068714003d2f1a6e2bae3fb1118f359aff
RNScreens: f28b48b8345f2f5f39ed6195518291515032a788
diff --git a/apps/mobile/src/views/Home/index.js b/apps/mobile/src/views/Home/index.js
index eb76fbfc1..1b2aab187 100755
--- a/apps/mobile/src/views/Home/index.js
+++ b/apps/mobile/src/views/Home/index.js
@@ -48,6 +48,7 @@ export const Home = ({navigation}) => {
ToastEvent.show('Sync Complete', 'success');
} catch (e) {
setRefreshing(false);
+ console.log(e);
ToastEvent.show(e.message, 'error');
}
dispatch({type: ACTIONS.NOTES});
diff --git a/apps/mobile/src/views/Login/index.js b/apps/mobile/src/views/Login/index.js
index 84e33e636..ab807efe4 100644
--- a/apps/mobile/src/views/Login/index.js
+++ b/apps/mobile/src/views/Login/index.js
@@ -2,7 +2,6 @@ import React, {createRef, useEffect, useState} from 'react';
import {
ActivityIndicator,
BackHandler,
- SafeAreaView,
Text,
TouchableOpacity,
View,
@@ -109,7 +108,7 @@ export const Login = ({navigation}) => {
};
return (
- <SafeAreaView
+ <View
style={{
backgroundColor: colors.bg,
height: '100%',
@@ -506,7 +505,7 @@ export const Login = ({navigation}) => {
</View>
</>
)}
- </SafeAreaView>
+ </View>
);
};
diff --git a/apps/mobile/src/views/Signup/index.js b/apps/mobile/src/views/Signup/index.js
index 0d205f37c..a185c2f57 100644
--- a/apps/mobile/src/views/Signup/index.js
+++ b/apps/mobile/src/views/Signup/index.js
@@ -1,6 +1,5 @@
import React, {createRef, useEffect, useState} from 'react';
import {
- SafeAreaView,
Text,
TouchableOpacity,
View,
@@ -95,7 +94,7 @@ export const Signup = ({navigation}) => {
};
return (
- <SafeAreaView
+ <View
style={{
height: '100%',
backgroundColor: colors.bg,
@@ -576,7 +575,7 @@ export const Signup = ({navigation}) => {
</View>
</>
)}
- </SafeAreaView>
+ </View>
);
};