From 8782aaa74f5dd8813778857a62f22ea7260d130a Mon Sep 17 00:00:00 2001 From: MyDrift Date: Fri, 28 Feb 2025 20:08:48 +0100 Subject: [PATCH] remove unused autofallback --- config/appnavigation.json | 7 ------- scripts/main.ps1 | 6 ------ 2 files changed, 13 deletions(-) diff --git a/config/appnavigation.json b/config/appnavigation.json index f9132e5c..c0a408a9 100644 --- a/config/appnavigation.json +++ b/config/appnavigation.json @@ -44,12 +44,5 @@ "Checked": false, "Order": "2", "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" } } diff --git a/scripts/main.ps1 b/scripts/main.ps1 index 95117522..fe12165a 100644 --- a/scripts/main.ps1 +++ b/scripts/main.ps1 @@ -148,12 +148,6 @@ if (Test-Path $ChocoPreferencePath) { $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 { if($sync.$psitem) { if($($sync["$psitem"].GetType() | Select-Object -ExpandProperty Name) -eq "ToggleButton") {