mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-24 22:03:21 +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() {
|
componentWillUnmount() {
|
||||||
const { isReply, isEdit } = this.props;
|
const { isEdit } = this.props;
|
||||||
if (!isReply && !isEdit) {
|
if (!isEdit) {
|
||||||
this._saveDraftToDB();
|
this._saveDraftToDB();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user