mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Renamed composerEmpty to isComposerEmpty
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
42a48ee27d
commit
50b0a78132
@ -282,7 +282,7 @@ export default class MessageComposer extends React.Component {
|
|||||||
showSendButton: SettingsStore.getValue("MessageComposerInput.showSendButton"),
|
showSendButton: SettingsStore.getValue("MessageComposerInput.showSendButton"),
|
||||||
hasConference: WidgetStore.instance.doesRoomHaveConference(this.props.room),
|
hasConference: WidgetStore.instance.doesRoomHaveConference(this.props.room),
|
||||||
joinedConference: WidgetStore.instance.isJoinedToConferenceIn(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) => {
|
onIsEmptyChanged = (isEmpty) => {
|
||||||
this.setState({
|
this.setState({
|
||||||
composerEmpty: isEmpty,
|
isComposerEmpty: isEmpty,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user