allowing draft save for reply

This commit is contained in:
Nouman Tahir 2022-07-21 15:05:23 +05:00
parent dbab8c2777
commit fb973b9a46

View File

@ -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();
}
}