Ensure UpdateDialog closes when restart signal is tapped
This commit is contained in:
parent
090541bdb8
commit
9a3ed5ac8d
1 changed files with 8 additions and 0 deletions
|
@ -127,6 +127,14 @@ export function reducer(
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (action.type === START_UPDATE) {
|
||||||
|
return {
|
||||||
|
dialogType: Dialogs.None,
|
||||||
|
didSnooze: state.didSnooze,
|
||||||
|
showEventsCount: state.showEventsCount,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
action.type === DISMISS_DIALOG &&
|
action.type === DISMISS_DIALOG &&
|
||||||
state.dialogType === Dialogs.MacOS_Read_Only
|
state.dialogType === Dialogs.MacOS_Read_Only
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue