Renamed composerEmpty to isComposerEmpty

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Š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

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,
});
}