Ensure UpdateDialog closes when restart signal is tapped

This commit is contained in:
Josh Perez 2020-03-30 09:13:51 -07:00 committed by Scott Nonnenberg
parent 090541bdb8
commit 9a3ed5ac8d

View file

@ -127,6 +127,14 @@ export function reducer(
};
}
if (action.type === START_UPDATE) {
return {
dialogType: Dialogs.None,
didSnooze: state.didSnooze,
showEventsCount: state.showEventsCount,
};
}
if (
action.type === DISMISS_DIALOG &&
state.dialogType === Dialogs.MacOS_Read_Only