move live recording logic down the component tree
This commit is contained in:
parent
56467485f5
commit
21caa6df12
4 changed files with 115 additions and 13 deletions
|
@ -227,8 +227,8 @@ export default class VoiceRecordComposerTile extends React.PureComponent<IProps,
|
|||
|
||||
// only other UI is the recording-in-progress UI
|
||||
return <div className="mx_VoiceMessagePrimaryContainer mx_VoiceRecordComposerTile_recording">
|
||||
<LiveRecordingClock seconds={this.state.seconds} />
|
||||
<LiveRecordingWaveform relHeights={this.state.relHeights} />
|
||||
<LiveRecordingClock recorder={this.state.recorder} />
|
||||
<LiveRecordingWaveform recorder={this.state.recorder} />
|
||||
</div>;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue