Renamed composerEmpty to isComposerEmpty

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-02-12 15:41:43 +01:00
parent 42a48ee27d
commit 50b0a78132
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,7 @@ export default class MessageComposer extends React.Component {
showSendButton: SettingsStore.getValue("MessageComposerInput.showSendButton"),
hasConference: WidgetStore.instance.doesRoomHaveConference(this.props.room),
joinedConference: WidgetStore.instance.isJoinedToConferenceIn(this.props.room),
composerEmpty: true,
isComposerEmpty: true,
};
}
@ -426,7 +426,7 @@ export default class MessageComposer extends React.Component {
onIsEmptyChanged = (isEmpty) => {
this.setState({
composerEmpty: isEmpty,
isComposerEmpty: isEmpty,
});
}