Updated Composer for mobile

• Updated:
- Composer for mobile. Using Textarea instead of Composer component for mobile.
This commit is contained in:
mgabdev
2020-06-19 00:58:07 -04:00
parent 429bb277e9
commit b9bf84994f
2 changed files with 64 additions and 19 deletions

View File

@@ -34,12 +34,11 @@ const mapStateToProps = (state, props) => {
if (isModalOpen) isMatch = true
if (isModalOpen && shouldCondense) isMatch = false
if (isModalOpen && !modal) isMatch = false
if (isModalOpen && (!modal && !isStandalone)) isMatch = false
// console.log("isMatch:", isMatch, reduxReplyToId, replyToId, state.getIn(['compose', 'text']))
// console.log("isMatch:", isMatch, modal, isModalOpen, state.getIn(['compose', 'text']))
// console.log("reduxReplyToId:", reduxReplyToId, isModalOpen, isStandalone)
const edit = state.getIn(['compose', 'id'])
// const edit = state.getIn(['compose', 'id'])
if (!isMatch) {
return {