mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-01-07 05:24:54 -06:00
Compare commits
1 Commits
4836f5f1ff
...
39f701bc51
Author | SHA1 | Date | |
---|---|---|---|
|
39f701bc51 |
@ -18,7 +18,7 @@ function Set-CategoryVisibility {
|
|||||||
[string]$overrideState
|
[string]$overrideState
|
||||||
)
|
)
|
||||||
|
|
||||||
switch ($overrideState) {
|
switch ($overrideState){
|
||||||
"Expand" {$state = $true}
|
"Expand" {$state = $true}
|
||||||
"Collapse" {$state = $false}
|
"Collapse" {$state = $false}
|
||||||
default {$state = $sync.CompactView}
|
default {$state = $sync.CompactView}
|
||||||
|
@ -149,12 +149,6 @@ if (Test-Path $ChocoPreferencePath) {
|
|||||||
$sync.ChocoRadioButton.IsChecked = $true
|
$sync.ChocoRadioButton.IsChecked = $true
|
||||||
}
|
}
|
||||||
|
|
||||||
$sync.autofallback.IsEnabled = $false
|
|
||||||
$sync.autofallback.Opacity = 0.5
|
|
||||||
$sync.autofallback.ToolTip = "This feature is currently under development."
|
|
||||||
|
|
||||||
[System.Windows.Controls.ToolTipService]::SetShowOnDisabled($sync.autofallback, $true)
|
|
||||||
|
|
||||||
$sync.keys | ForEach-Object {
|
$sync.keys | ForEach-Object {
|
||||||
if($sync.$psitem) {
|
if($sync.$psitem) {
|
||||||
if($($sync["$psitem"].GetType() | Select-Object -ExpandProperty Name) -eq "ToggleButton") {
|
if($($sync["$psitem"].GetType() | Select-Object -ExpandProperty Name) -eq "ToggleButton") {
|
||||||
|
Loading…
Reference in New Issue
Block a user