fix(rn,recording) fix recording dialog state not updating
This commit is contained in:
parent
0b93569df2
commit
dc96324d3b
|
@ -44,6 +44,8 @@ class StartRecordingDialog extends AbstractStartRecordingDialog<Props> {
|
|||
* @returns {void}
|
||||
*/
|
||||
componentDidMount() {
|
||||
super.componentDidMount();
|
||||
|
||||
const { navigation, t } = this.props;
|
||||
|
||||
navigation.setOptions({
|
||||
|
@ -64,7 +66,9 @@ class StartRecordingDialog extends AbstractStartRecordingDialog<Props> {
|
|||
* @inheritdoc
|
||||
* @returns {void}
|
||||
*/
|
||||
componentDidUpdate() {
|
||||
componentDidUpdate(prevProps) {
|
||||
super.componentDidUpdate(prevProps);
|
||||
|
||||
const { navigation, t } = this.props;
|
||||
|
||||
navigation.setOptions({
|
||||
|
|
Loading…
Reference in New Issue