mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-04-03 14:06:27 +00:00
Remove unnecessary assignment of SelectedFeatureIds and RestartExplorer in cancel handler
This commit is contained in:
@@ -179,10 +179,6 @@ function Show-RevertSettingsModal {
|
||||
})
|
||||
|
||||
$cancelHandler = {
|
||||
$revertWindow.Tag = [PSCustomObject]@{
|
||||
SelectedFeatureIds = @()
|
||||
RestartExplorer = ($restartExplorerCheckbox -and $restartExplorerCheckbox.IsChecked -eq $true)
|
||||
}
|
||||
$revertWindow.Close()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user