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() { componentWillUnmount() {
const { isReply, isEdit } = this.props; const { isEdit } = this.props;
if (!isReply && !isEdit) { if (!isEdit) {
this._saveDraftToDB(); this._saveDraftToDB();
} }
} }