Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit b7e6532

Browse files
committed
Rename function
1 parent 090cf28 commit b7e6532

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/views/rooms/VoiceRecordComposerTile.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default class VoiceRecordComposerTile extends React.PureComponent<IProps,
4040
};
4141
}
4242

43-
private onStartVoiceMessage = async () => {
43+
private onStartStopVoiceMessage = async () => {
4444
// TODO: @@ TravisR: We do not want to auto-send on stop.
4545
if (this.state.recorder) {
4646
await this.state.recorder.stop();
@@ -80,7 +80,7 @@ export default class VoiceRecordComposerTile extends React.PureComponent<IProps,
8080
return (
8181
<AccessibleTooltipButton
8282
className={classes}
83-
onClick={this.onStartVoiceMessage}
83+
onClick={this.onStartStopVoiceMessage}
8484
title={tooltip}
8585
/>
8686
);

0 commit comments

Comments
 (0)