Split up the functions to seperate files like the rest of the repo

This commit is contained in:
Marterich
2024-10-28 22:53:03 +01:00
parent 7d0e4df4ec
commit cf2f741408
14 changed files with 614 additions and 571 deletions

View File

@ -127,13 +127,9 @@ $sync.WPFToggleView.Add_Click({
$sync.CompactView = -not $sync.CompactView
Update-AppTileProperties
if ($sync.SearchBar.Text -eq "") {
Set-CategoryVisibility -Category "*" -ItemsControl $sync.ItemsControl -automaticVisibility
Set-CategoryVisibility -Category "*"
}
})
# Add logic to handle click to the Filter Button on the Install Tab
$sync.WPFSelectedFilter.Add_Click{(
Show-OnlyCheckedApps -appKeys $sync.SelectedApps -ItemsControl $sync.ItemsControl
)}
Invoke-WPFUIApps -Apps $sync.configs.applicationsHashtable -targetGridName "appspanel"
Invoke-WPFUIElements -configVariable $sync.configs.tweaks -targetGridName "tweakspanel" -columncount 2