Mobile: Fix action button when note is being edited.

pull/484/head
Laurent Cozic 2018-05-01 10:09:36 +01:00
parent c1f5dfd9cc
commit e4ec4ae92b
1 changed files with 1 additions and 1 deletions

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} />
}