Update changes applied text

This commit is contained in:
Raphire
2026-03-07 15:17:03 +01:00
parent 33ce8d6f70
commit 8956c41b4d
2 changed files with 3 additions and 3 deletions

View File

@@ -141,7 +141,7 @@
Style="{DynamicResource ModalTitleStyle}"/> Style="{DynamicResource ModalTitleStyle}"/>
<TextBlock x:Name="ApplyCompletionMessage" <TextBlock x:Name="ApplyCompletionMessage"
Text="All changes have been applied successfully!" Text="Your clean system is ready. Thanks for using Win11Debloat!"
Style="{DynamicResource ModalSubtextStyle}"/> Style="{DynamicResource ModalSubtextStyle}"/>
</StackPanel> </StackPanel>

View File

@@ -110,7 +110,7 @@ function Show-ApplyModal {
if ($script:CancelRequested) { if ($script:CancelRequested) {
Write-Host "Script execution was cancelled by the user. Some changes may not have been applied." Write-Host "Script execution was cancelled by the user. Some changes may not have been applied."
} else { } else {
Write-Host "All changes have been applied successfully." Write-Host "All changes have been applied successfully!"
} }
# Show completion state # Show completion state
@@ -125,7 +125,7 @@ function Show-ApplyModal {
$script:ApplyCompletionMessageEl.Text = "Script execution was cancelled by the user." $script:ApplyCompletionMessageEl.Text = "Script execution was cancelled by the user."
} else { } else {
$script:ApplyCompletionTitleEl.Text = "Changes Applied" $script:ApplyCompletionTitleEl.Text = "Changes Applied"
$script:ApplyCompletionMessageEl.Text = "All changes have been applied successfully!" $script:ApplyCompletionMessageEl.Text = "Your clean system is ready. Thanks for using Win11Debloat!"
} }
$applyWindow.Dispatcher.Invoke([System.Windows.Threading.DispatcherPriority]::Render, [action]{}) $applyWindow.Dispatcher.Invoke([System.Windows.Threading.DispatcherPriority]::Render, [action]{})
} }