forked from Ivasoft/mattermost-mobile
Fix Save button not appearing on edit post screen (#7360)
This commit is contained in:
committed by
GitHub
parent
3cad740d67
commit
83e5ca835d
@@ -79,14 +79,7 @@ const EditPost = ({componentId, maxPostSize, post, closeButtonId, hasFilesAttach
|
||||
const isTablet = useIsTablet();
|
||||
|
||||
useEffect(() => {
|
||||
setButtons(componentId, {
|
||||
rightButtons: [{
|
||||
color: theme.sidebarHeaderTextColor,
|
||||
text: intl.formatMessage({id: 'edit_post.save', defaultMessage: 'Save'}),
|
||||
...RIGHT_BUTTON,
|
||||
enabled: false,
|
||||
}],
|
||||
});
|
||||
toggleSaveButton(false);
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user