mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-07-12 08:07:11 +01:00
Ensure UpdateDialog closes when restart signal is tapped
This commit is contained in:
committed by
Scott Nonnenberg
parent
090541bdb8
commit
9a3ed5ac8d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user