mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
Use isComposerEmpty for send button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
50b0a78132
commit
35c0cb99d0
@ -489,7 +489,7 @@ export default class MessageComposer extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
if (this.state.showSendButton) {
|
||||
if (!this.state.isComposerEmpty) {
|
||||
controls.push(
|
||||
<SendButton onClick={this.sendMessage} />,
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user