mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-04-03 14:06:27 +00:00
Remove unnecessary call to updateState in Show-RevertSettingsModal function
This commit is contained in:
@@ -199,8 +199,6 @@ function Show-RevertSettingsModal {
|
|||||||
$revertWindow.Close()
|
$revertWindow.Close()
|
||||||
})
|
})
|
||||||
|
|
||||||
& $updateState
|
|
||||||
|
|
||||||
$revertWindow.ShowDialog() | Out-Null
|
$revertWindow.ShowDialog() | Out-Null
|
||||||
|
|
||||||
if ($overlay -and -not $overlayWasAlreadyVisible) {
|
if ($overlay -and -not $overlayWasAlreadyVisible) {
|
||||||
|
|||||||
Reference in New Issue
Block a user