Rename method

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

View File

@ -281,7 +281,7 @@ export default class MessageComposer extends React.Component {
}
};
onSendButtonChanged = () => {
onShowSendButtonChanged = () => {
this.setState({
showSendButton: SettingsStore.getValue("MessageComposerInput.showSendButton"),
});
@ -300,7 +300,7 @@ export default class MessageComposer extends React.Component {
MatrixClientPeg.get().on("RoomState.events", this._onRoomStateEvents);
this._waitForOwnMember();
this.showSendButtonRef = SettingsStore.watchSetting(
"MessageComposerInput.showSendButton", null, this.onSendButtonChanged);
"MessageComposerInput.showSendButton", null, this.onShowSendButtonChanged);
}
_waitForOwnMember() {