minor fixes

This commit is contained in:
ammarahm-ed
2020-02-12 03:24:36 +05:00
parent 65d252e641
commit 377b192f8a
12 changed files with 59 additions and 37 deletions

View File

@@ -184,7 +184,7 @@ export const ActionSheetComponent = ({
},
{
name: 'Share',
icon: 'share-2',
icon: 'share-variant',
func: () => {
if (note.locked) {
close('unlock_share');
@@ -202,7 +202,7 @@ export const ActionSheetComponent = ({
},
{
name: 'Export',
icon: 'external-link',
icon: 'export',
func: () => {
close();
},
@@ -501,7 +501,7 @@ export const ActionSheetComponent = ({
width: '100%',
paddingHorizontal: 0,
}}>
{!note.id ? (
{!note.id && !note.dateCreated ? (
<Text
style={{
width: '100%',
@@ -626,7 +626,7 @@ export const ActionSheetComponent = ({
</View>
)}
{note.id ? (
{note.id || note.dateCreated ? (
<View
style={{
width: '100%',
@@ -657,7 +657,7 @@ export const ActionSheetComponent = ({
</View>
) : null}
{hasTags && note.id ? (
{hasTags && (note.id || note.dateCreated) ? (
<View
style={{
marginHorizontal: 12,