mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Rename function
This commit is contained in:
parent
090cf28af4
commit
b7e653268b
@ -40,7 +40,7 @@ export default class VoiceRecordComposerTile extends React.PureComponent<IProps,
|
||||
};
|
||||
}
|
||||
|
||||
private onStartVoiceMessage = async () => {
|
||||
private onStartStopVoiceMessage = async () => {
|
||||
// TODO: @@ TravisR: We do not want to auto-send on stop.
|
||||
if (this.state.recorder) {
|
||||
await this.state.recorder.stop();
|
||||
@ -80,7 +80,7 @@ export default class VoiceRecordComposerTile extends React.PureComponent<IProps,
|
||||
return (
|
||||
<AccessibleTooltipButton
|
||||
className={classes}
|
||||
onClick={this.onStartVoiceMessage}
|
||||
onClick={this.onStartStopVoiceMessage}
|
||||
title={tooltip}
|
||||
/>
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user