mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-04-01 17:12:09 +00:00
remove unused autofallback
This commit is contained in:
parent
daf75a1d4a
commit
8782aaa74f
@ -44,12 +44,5 @@
|
|||||||
"Checked": false,
|
"Checked": false,
|
||||||
"Order": "2",
|
"Order": "2",
|
||||||
"Description": "Use Chocolatey for package management"
|
"Description": "Use Chocolatey for package management"
|
||||||
},
|
|
||||||
"autofallback": {
|
|
||||||
"Content": "Auto Fallback",
|
|
||||||
"Category": "__Package Manager",
|
|
||||||
"Checked": true,
|
|
||||||
"Order": "3",
|
|
||||||
"Description": "If the selected package manager fails, automatically switch to the other one"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -148,12 +148,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