1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00

Mobile: Fix action button when note is being edited.

This commit is contained in:
Laurent Cozic 2018-05-01 10:09:36 +01:00
parent c1f5dfd9cc
commit e4ec4ae92b

View File

@ -497,7 +497,7 @@ class NoteScreenComponent extends BaseScreenComponent {
},
});
if (this.state.mode == 'edit') return <ActionButton style={{display:'none'}}/>;
if (this.state.mode == 'edit') return null;//<ActionButton style={{display:'none'}}/>;
return <ActionButton multiStates={true} buttons={buttons} buttonIndex={0} />
}