Skip to content

Commit

Permalink
Replace Tabs with Spaces to follow the conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
og-mrk committed Jul 31, 2024
1 parent 8ed1712 commit e0bc12f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions functions/private/Set-WinUtilUiTheme.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function Set-WinUtilUITheme {
throw [GenericException]::new("[Invoke-Theming] Failed to apply theme, StackTrace: $($psitem.Exception.StackTrace)")
}

return $XMLToProcess
return $XMLToProcess
}


Expand All @@ -59,8 +59,8 @@ function Set-WinUtilUITheme {
throw [GenericException]::new("[Set-WinUtilTheme] Did not find 'config.themes' inside `$sync variable.")
}

$defaultTheme = $themes."_default"
if (-NOT $defaultTheme) {
$defaultTheme = $themes."_default"
if (-NOT $defaultTheme) {
throw [GenericException]::new("[Set-WinUtilTheme] Did not find '_default' theme in the themes config file.")
}

Expand All @@ -70,9 +70,9 @@ function Set-WinUtilUITheme {
Write-Warning "[Set-WinUtilTheme] Theme '$themeName' was not found."
} else {
$inputXML = Invoke-Theming -XMLToProcess $inputXML -theme $selectedTheme
}
}

$inputXML = Invoke-Theming -XMLToProcess $inputXML -theme $defaultTheme
$inputXML = Invoke-Theming -XMLToProcess $inputXML -theme $defaultTheme

}
catch {
Expand Down

0 comments on commit e0bc12f

Please sign in to comment.