diff --git a/StabilityMatrix.Avalonia/ViewModels/Settings/MainSettingsViewModel.cs b/StabilityMatrix.Avalonia/ViewModels/Settings/MainSettingsViewModel.cs index 63f4efba..c02c396b 100644 --- a/StabilityMatrix.Avalonia/ViewModels/Settings/MainSettingsViewModel.cs +++ b/StabilityMatrix.Avalonia/ViewModels/Settings/MainSettingsViewModel.cs @@ -344,33 +344,6 @@ public partial class MainSettingsViewModel : PageViewModelBase ); } - [RelayCommand] - private void ClearPipCache() - { - var pipCacheLocation = Path.Combine( - Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), - "pip", - "cache" - ); - if (Directory.Exists(pipCacheLocation)) - { - Directory.Delete(pipCacheLocation, true); - notificationService.Show( - "Pip cache cleared", - "The pip cache has been cleared.", - NotificationType.Success - ); - } - else - { - notificationService.Show( - "Pip cache not found", - "The pip cache was not found.", - NotificationType.Warning - ); - } - } - [RelayCommand] private void NavigateToSubPage(Type viewModelType) { diff --git a/StabilityMatrix.Avalonia/Views/Settings/MainSettingsPage.axaml b/StabilityMatrix.Avalonia/Views/Settings/MainSettingsPage.axaml index 7ef4eb4f..5fb2d8a4 100644 --- a/StabilityMatrix.Avalonia/Views/Settings/MainSettingsPage.axaml +++ b/StabilityMatrix.Avalonia/Views/Settings/MainSettingsPage.axaml @@ -160,7 +160,7 @@ - + - - -