Skip to content

Commit

Permalink
MM-53343 - save button not grayed out when edit message is too long
Browse files Browse the repository at this point in the history
  • Loading branch information
pvev committed Jul 12, 2023
1 parent 5a07c1a commit 1b879c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/screens/edit_post/edit_post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const EditPost = ({componentId, maxPostSize, post, closeButtonId, hasFilesAttach
setErrorLine(line);
setErrorExtra(extra);
}
toggleSaveButton(editingMessage !== message);
toggleSaveButton(editingMessage !== message && !tooLong);
}, [intl, maxPostSize, editingMessage, toggleSaveButton]);

const onAutocompleteChangeText = useCallback((message: string) => {
Expand Down

0 comments on commit 1b879c4

Please sign in to comment.