Skip to content

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

minor fixes

ammarahm-ed5c4ddc2d0368
diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.js
index 3bb2d99a6..011d42f8c 100644
--- a/apps/mobile/src/components/ActionSheetComponent/index.js
+++ b/apps/mobile/src/components/ActionSheetComponent/index.js
@@ -27,6 +27,7 @@ import {ACTIONS} from '../../provider/actions';
import {moveNoteEvent} from '../DialogManager';
import Share from 'react-native-share';
import {timeConverter, ToastEvent} from '../../utils/utils';
+import NavigationService from '../../services/NavigationService';
const w = Dimensions.get('window').width;
const h = Dimensions.get('window').height;
@@ -229,7 +230,12 @@ export const ActionSheetComponent = ({
{
name: 'Open',
icon: 'open-in-app',
- func: () => {},
+ func: () => {
+ NavigationService.navigate('Editor', {
+ note: item,
+ });
+ close();
+ },
},
{
name: 'Restore',
diff --git a/apps/mobile/src/components/Menu/index.js b/apps/mobile/src/components/Menu/index.js
index 13bc5ac77..73db82142 100644
--- a/apps/mobile/src/components/Menu/index.js
+++ b/apps/mobile/src/components/Menu/index.js
@@ -232,7 +232,7 @@ export const Menu = ({
}}>
<Icon
style={{
- minWidth: noTextMode ? 5 : 40,
+ minWidth: noTextMode ? 5 : 35,
textAlignVertical: 'center',
textAlign: 'left',
@@ -288,7 +288,7 @@ export const Menu = ({
}}>
<Icon
style={{
- minWidth: noTextMode ? 5 : 40,
+ minWidth: noTextMode ? 5 : 35,
}}
name="tag-outline"
color={colors.accent}
@@ -509,7 +509,7 @@ export const Menu = ({
}}>
<Icon
style={{
- minWidth: noTextMode ? 5 : 40,
+ minWidth: noTextMode ? 5 : 35,
}}
name={item.icon}
color={colors.accent}
@@ -633,7 +633,7 @@ export const Menu = ({
}}>
<Icon
style={{
- minWidth: 40,
+ minWidth: 35,
textAlign: 'left',
}}
name="login"
diff --git a/apps/mobile/src/components/header/index.js b/apps/mobile/src/components/header/index.js
index ad597d1ac..c94f64dd1 100644
--- a/apps/mobile/src/components/header/index.js
+++ b/apps/mobile/src/components/header/index.js
@@ -176,6 +176,9 @@ export const Header = ({
</MenuItem>
<MenuDivider />
<MenuItem
+ textStyle={{
+ fontFamily: WEIGHT.regular,
+ }}
onPress={() => {
dispatch({type: ACTIONS.NOTES, sort: null});
menuRef.current?.hide();
@@ -183,6 +186,9 @@ export const Header = ({
Default
</MenuItem>
<MenuItem
+ textStyle={{
+ fontFamily: WEIGHT.regular,
+ }}
onPress={() => {
dispatch({type: ACTIONS.NOTES, sort: 'abc'});
menuRef.current?.hide();
@@ -190,6 +196,9 @@ export const Header = ({
Alphabetical
</MenuItem>
<MenuItem
+ textStyle={{
+ fontFamily: WEIGHT.regular,
+ }}
onPress={() => {
dispatch({type: ACTIONS.NOTES, sort: 'year'});
menuRef.current?.hide();
@@ -197,6 +206,9 @@ export const Header = ({
By year
</MenuItem>
<MenuItem
+ textStyle={{
+ fontFamily: WEIGHT.regular,
+ }}
onPress={() => {
dispatch({type: ACTIONS.NOTES, sort: 'month'});
menuRef.current?.hide();
@@ -204,6 +216,9 @@ export const Header = ({
By month
</MenuItem>
<MenuItem
+ textStyle={{
+ fontFamily: WEIGHT.regular,
+ }}
onPress={() => {
dispatch({type: ACTIONS.NOTES, sort: 'week'});
menuRef.current?.hide();