mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 19:31:54 +03:00
allowing draft save for reply
This commit is contained in:
parent
dbab8c2777
commit
fb973b9a46
@ -81,8 +81,8 @@ class EditorScreen extends Component {
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
const { isReply, isEdit } = this.props;
|
||||
if (!isReply && !isEdit) {
|
||||
const { isEdit } = this.props;
|
||||
if (!isEdit) {
|
||||
this._saveDraftToDB();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user