From ddcf02c910d96ddbdfb09fb287c543718bbb1224 Mon Sep 17 00:00:00 2001 From: Quaint Mako <110472580+QuaintMako@users.noreply.github.com> Date: Sat, 14 Jan 2023 17:08:53 +0100 Subject: [PATCH] Sorting and cleaning usings --- src/Files.App/DataModels/NavigationControlItems/DriveItem.cs | 2 -- .../DataModels/NavigationControlItems/LocationItem.cs | 1 - src/Files.App/Filesystem/ListedItem.cs | 1 - .../Filesystem/StorageEnumerators/Win32StorageEnumerator.cs | 3 --- src/Files.App/Filesystem/StorageItems/ShellStorageFile.cs | 1 - src/Files.App/Helpers/AppThemeResourcesHelper.cs | 1 - src/Files.App/Helpers/FileOperationsHelpers.cs | 2 -- src/Files.App/Helpers/NativeFileOperationsHelper.cs | 1 - src/Files.App/Helpers/RecycleBinHelpers.cs | 1 - .../Settings/AppearanceSettingsService.cs | 1 - .../Settings/PreviewPaneSettingsService.cs | 1 - src/Files.App/Shell/Win32API.cs | 1 - src/Files.App/Shell/Win32Shell.cs | 3 +-- src/Files.App/UserControls/FilePreviews/HtmlPreview.xaml.cs | 2 +- src/Files.App/UserControls/StatusBarControl.xaml.cs | 1 - src/Files.App/UserControls/Widgets/RecentFilesWidget.xaml.cs | 1 - src/Files.App/ViewModels/MainPageViewModel.cs | 1 - src/Files.App/ViewModels/SettingsViewModel.cs | 3 --- .../ViewModels/SettingsViewModels/AboutViewModel.cs | 2 -- .../ViewModels/SettingsViewModels/AdvancedViewModel.cs | 1 - .../ViewModels/SettingsViewModels/AppearanceViewModel.cs | 2 -- src/Files.App/ViewModels/StatusCenterViewModel.cs | 1 - src/Files.App/ViewModels/ToolbarViewModel.cs | 3 --- src/Files.App/Views/MainPage.xaml.cs | 2 -- src/Files.App/Views/Pages/Properties.xaml.cs | 1 - src/Files.App/Views/Pages/PropertiesCustomization.xaml.cs | 1 - src/Files.App/Views/Pages/PropertiesDetails.xaml.cs | 1 - src/Files.App/Views/Pages/PropertiesSecurityAdvanced.xaml.cs | 1 - src/Files.App/Views/Pages/PropertiesShortcut.xaml.cs | 1 - src/Files.App/Views/SettingsPages/Appearance.xaml.cs | 5 ----- .../Views/SettingsPages/Appearance/AppThemeResource.cs | 5 ----- .../SettingsPages/Appearance/AppThemeResourcesFactory.cs | 3 +-- src/Files.App/Views/WidgetsPage.xaml.cs | 1 - src/Files.Backend/Services/IUpdateService.cs | 4 +--- .../Services/Settings/IPreviewPaneSettingsService.cs | 3 +-- src/Files.Shared/Logger.cs | 1 - tests/Files.InteractionTests/Tests/FolderTests.cs | 2 -- 37 files changed, 5 insertions(+), 62 deletions(-) diff --git a/src/Files.App/DataModels/NavigationControlItems/DriveItem.cs b/src/Files.App/DataModels/NavigationControlItems/DriveItem.cs index e07b77ace517..1134b316cc38 100644 --- a/src/Files.App/DataModels/NavigationControlItems/DriveItem.cs +++ b/src/Files.App/DataModels/NavigationControlItems/DriveItem.cs @@ -9,10 +9,8 @@ using Microsoft.UI.Xaml.Media.Imaging; using System; using System.Threading.Tasks; -using Windows.Media.Capture; using Windows.Storage; using Windows.Storage.Streams; -using static Vanara.PInvoke.Shell32; namespace Files.App.DataModels.NavigationControlItems { diff --git a/src/Files.App/DataModels/NavigationControlItems/LocationItem.cs b/src/Files.App/DataModels/NavigationControlItems/LocationItem.cs index 44ea60dbdb93..26785f54ee96 100644 --- a/src/Files.App/DataModels/NavigationControlItems/LocationItem.cs +++ b/src/Files.App/DataModels/NavigationControlItems/LocationItem.cs @@ -9,7 +9,6 @@ using Microsoft.UI.Xaml.Media.Imaging; using System; using System.IO; -using System.Threading.Tasks; namespace Files.App.DataModels.NavigationControlItems { diff --git a/src/Files.App/Filesystem/ListedItem.cs b/src/Files.App/Filesystem/ListedItem.cs index a2a31d958be9..78d74c06bffd 100644 --- a/src/Files.App/Filesystem/ListedItem.cs +++ b/src/Files.App/Filesystem/ListedItem.cs @@ -15,7 +15,6 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; -using System.Linq; using System.Threading; using System.Threading.Tasks; using Windows.Storage; diff --git a/src/Files.App/Filesystem/StorageEnumerators/Win32StorageEnumerator.cs b/src/Files.App/Filesystem/StorageEnumerators/Win32StorageEnumerator.cs index 271ffa83a638..602a3a6d3b4c 100644 --- a/src/Files.App/Filesystem/StorageEnumerators/Win32StorageEnumerator.cs +++ b/src/Files.App/Filesystem/StorageEnumerators/Win32StorageEnumerator.cs @@ -3,11 +3,9 @@ using Files.App.Filesystem.StorageItems; using Files.App.Helpers; using Files.App.Helpers.FileListCache; -using Files.App.Shell; using Files.Backend.Extensions; using Files.Backend.Services.Settings; using Files.Backend.Services.SizeProvider; -using Files.Shared; using Microsoft.UI.Xaml.Media.Imaging; using System; using System.Collections.Generic; @@ -15,7 +13,6 @@ using System.Threading; using System.Threading.Tasks; using Vanara.PInvoke; -using Vanara.Windows.Shell; using Windows.Storage; using static Files.Backend.Helpers.NativeFindStorageItemHelper; using FileAttributes = System.IO.FileAttributes; diff --git a/src/Files.App/Filesystem/StorageItems/ShellStorageFile.cs b/src/Files.App/Filesystem/StorageItems/ShellStorageFile.cs index 96cc00d89490..20d26b82892f 100644 --- a/src/Files.App/Filesystem/StorageItems/ShellStorageFile.cs +++ b/src/Files.App/Filesystem/StorageItems/ShellStorageFile.cs @@ -1,6 +1,5 @@ using Files.App.Shell; using Files.Shared; -using Files.Shared.Extensions; using System; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; diff --git a/src/Files.App/Helpers/AppThemeResourcesHelper.cs b/src/Files.App/Helpers/AppThemeResourcesHelper.cs index d9ef770483ac..50e2fc8c1556 100644 --- a/src/Files.App/Helpers/AppThemeResourcesHelper.cs +++ b/src/Files.App/Helpers/AppThemeResourcesHelper.cs @@ -1,5 +1,4 @@ using Microsoft.UI.Xaml; -using Microsoft.UI.Xaml.Media; using Windows.UI; namespace Files.App.Helpers diff --git a/src/Files.App/Helpers/FileOperationsHelpers.cs b/src/Files.App/Helpers/FileOperationsHelpers.cs index 74b1d80c0e17..6aa1f9ab1d2e 100644 --- a/src/Files.App/Helpers/FileOperationsHelpers.cs +++ b/src/Files.App/Helpers/FileOperationsHelpers.cs @@ -1,4 +1,3 @@ -using Files.App.DataModels; using Files.App.Filesystem; using Files.App.Filesystem.Permissions; using Files.App.Shell; @@ -17,7 +16,6 @@ using System.Security.Principal; using System.Threading; using System.Threading.Tasks; -using System.Windows.Forms; using Tulpep.ActiveDirectoryObjectPicker; using Vanara.PInvoke; using Vanara.Windows.Shell; diff --git a/src/Files.App/Helpers/NativeFileOperationsHelper.cs b/src/Files.App/Helpers/NativeFileOperationsHelper.cs index 57d7228db62a..545b99bfd399 100644 --- a/src/Files.App/Helpers/NativeFileOperationsHelper.cs +++ b/src/Files.App/Helpers/NativeFileOperationsHelper.cs @@ -1,4 +1,3 @@ -using Files.Shared.Extensions; using Microsoft.Win32.SafeHandles; using System; using System.Collections.Generic; diff --git a/src/Files.App/Helpers/RecycleBinHelpers.cs b/src/Files.App/Helpers/RecycleBinHelpers.cs index 932f871144c7..0ccdf4d6b561 100644 --- a/src/Files.App/Helpers/RecycleBinHelpers.cs +++ b/src/Files.App/Helpers/RecycleBinHelpers.cs @@ -1,4 +1,3 @@ -using Files.App.DataModels.NavigationControlItems; using Files.App.Extensions; using Files.App.Filesystem; using Files.App.Shell; diff --git a/src/Files.App/ServicesImplementation/Settings/AppearanceSettingsService.cs b/src/Files.App/ServicesImplementation/Settings/AppearanceSettingsService.cs index e962e23b154f..0f5767e5a664 100644 --- a/src/Files.App/ServicesImplementation/Settings/AppearanceSettingsService.cs +++ b/src/Files.App/ServicesImplementation/Settings/AppearanceSettingsService.cs @@ -2,7 +2,6 @@ using Files.Backend.Services.Settings; using Files.Shared.EventArguments; using Microsoft.AppCenter.Analytics; -using Microsoft.UI.Xaml.Media; using System; namespace Files.App.ServicesImplementation.Settings diff --git a/src/Files.App/ServicesImplementation/Settings/PreviewPaneSettingsService.cs b/src/Files.App/ServicesImplementation/Settings/PreviewPaneSettingsService.cs index bbebd1db25eb..5c76c9bb4cf4 100644 --- a/src/Files.App/ServicesImplementation/Settings/PreviewPaneSettingsService.cs +++ b/src/Files.App/ServicesImplementation/Settings/PreviewPaneSettingsService.cs @@ -1,6 +1,5 @@ using Files.App.Serialization; using Files.Backend.Services.Settings; -using Files.Shared.Enums; using Files.Shared.EventArguments; using Microsoft.AppCenter.Analytics; using System; diff --git a/src/Files.App/Shell/Win32API.cs b/src/Files.App/Shell/Win32API.cs index 64b8f4c21c88..d92f6a2d98ff 100644 --- a/src/Files.App/Shell/Win32API.cs +++ b/src/Files.App/Shell/Win32API.cs @@ -13,7 +13,6 @@ using System.Runtime.InteropServices; using System.Runtime.Versioning; using System.Text; -using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; diff --git a/src/Files.App/Shell/Win32Shell.cs b/src/Files.App/Shell/Win32Shell.cs index 3dd3f3c6c509..aaa5c896b43c 100644 --- a/src/Files.App/Shell/Win32Shell.cs +++ b/src/Files.App/Shell/Win32Shell.cs @@ -1,5 +1,4 @@ -using Files.App.Helpers; -using Files.Shared; +using Files.Shared; using System; using System.Collections.Generic; using System.IO; diff --git a/src/Files.App/UserControls/FilePreviews/HtmlPreview.xaml.cs b/src/Files.App/UserControls/FilePreviews/HtmlPreview.xaml.cs index 6cbd0c5633f2..d2bd2faa582e 100644 --- a/src/Files.App/UserControls/FilePreviews/HtmlPreview.xaml.cs +++ b/src/Files.App/UserControls/FilePreviews/HtmlPreview.xaml.cs @@ -1,6 +1,6 @@ -using System; using Files.App.ViewModels.Previews; using Microsoft.UI.Xaml.Controls; +using System; // The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236 diff --git a/src/Files.App/UserControls/StatusBarControl.xaml.cs b/src/Files.App/UserControls/StatusBarControl.xaml.cs index 39bd41c9a7ea..c256df30da38 100644 --- a/src/Files.App/UserControls/StatusBarControl.xaml.cs +++ b/src/Files.App/UserControls/StatusBarControl.xaml.cs @@ -1,4 +1,3 @@ -using Files.App.DataModels; using Files.App.ViewModels; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; diff --git a/src/Files.App/UserControls/Widgets/RecentFilesWidget.xaml.cs b/src/Files.App/UserControls/Widgets/RecentFilesWidget.xaml.cs index b0c70d6f0d51..0b02dd51efb1 100644 --- a/src/Files.App/UserControls/Widgets/RecentFilesWidget.xaml.cs +++ b/src/Files.App/UserControls/Widgets/RecentFilesWidget.xaml.cs @@ -7,7 +7,6 @@ using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; using System; -using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel; diff --git a/src/Files.App/ViewModels/MainPageViewModel.cs b/src/Files.App/ViewModels/MainPageViewModel.cs index 2ede01f6aa75..225b5cb2ff2f 100644 --- a/src/Files.App/ViewModels/MainPageViewModel.cs +++ b/src/Files.App/ViewModels/MainPageViewModel.cs @@ -1,6 +1,5 @@ using CommunityToolkit.Mvvm.ComponentModel; using CommunityToolkit.Mvvm.DependencyInjection; -using CommunityToolkit.WinUI.Helpers; using CommunityToolkit.Mvvm.Input; using Files.App.Extensions; using Files.App.Filesystem; diff --git a/src/Files.App/ViewModels/SettingsViewModel.cs b/src/Files.App/ViewModels/SettingsViewModel.cs index ebc2d44394b0..0291b749efa1 100644 --- a/src/Files.App/ViewModels/SettingsViewModel.cs +++ b/src/Files.App/ViewModels/SettingsViewModel.cs @@ -1,12 +1,9 @@ using CommunityToolkit.Mvvm.ComponentModel; using CommunityToolkit.Mvvm.Input; -using Files.App.Extensions; -using Files.App.Helpers; using System; using System.Diagnostics.CodeAnalysis; using System.Reflection; using System.Runtime.CompilerServices; -using System.Text.Json; using System.Windows.Input; using Windows.Storage; diff --git a/src/Files.App/ViewModels/SettingsViewModels/AboutViewModel.cs b/src/Files.App/ViewModels/SettingsViewModels/AboutViewModel.cs index f72fffab16a6..d184bb4769b5 100644 --- a/src/Files.App/ViewModels/SettingsViewModels/AboutViewModel.cs +++ b/src/Files.App/ViewModels/SettingsViewModels/AboutViewModel.cs @@ -5,14 +5,12 @@ using Files.App.Extensions; using Files.Backend.Services.Settings; using Files.Shared.Extensions; -using Microsoft.UI.Xaml.Controls; using System; using System.Threading.Tasks; using System.Windows.Input; using Windows.ApplicationModel; using Windows.ApplicationModel.DataTransfer; using Windows.Storage; -using Windows.Storage.Pickers; using Windows.System; namespace Files.App.ViewModels.SettingsViewModels diff --git a/src/Files.App/ViewModels/SettingsViewModels/AdvancedViewModel.cs b/src/Files.App/ViewModels/SettingsViewModels/AdvancedViewModel.cs index fd3f5152b0d5..824dfb2f24a0 100644 --- a/src/Files.App/ViewModels/SettingsViewModels/AdvancedViewModel.cs +++ b/src/Files.App/ViewModels/SettingsViewModels/AdvancedViewModel.cs @@ -5,7 +5,6 @@ using Files.App.Filesystem; using Files.App.Filesystem.StorageItems; using Files.App.Helpers; -using Files.App.ServicesImplementation.Settings; using Files.App.Shell; using Files.Backend.Services.Settings; using Files.Shared.Extensions; diff --git a/src/Files.App/ViewModels/SettingsViewModels/AppearanceViewModel.cs b/src/Files.App/ViewModels/SettingsViewModels/AppearanceViewModel.cs index b5d40adb1412..7dfb5a7746bf 100644 --- a/src/Files.App/ViewModels/SettingsViewModels/AppearanceViewModel.cs +++ b/src/Files.App/ViewModels/SettingsViewModels/AppearanceViewModel.cs @@ -1,6 +1,5 @@ using CommunityToolkit.Mvvm.ComponentModel; using CommunityToolkit.Mvvm.DependencyInjection; -using CommunityToolkit.Mvvm.Input; using CommunityToolkit.WinUI.Helpers; using Files.App.Extensions; using Files.App.Helpers; @@ -12,7 +11,6 @@ using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; -using System.Windows.Input; using Windows.UI; namespace Files.App.ViewModels.SettingsViewModels diff --git a/src/Files.App/ViewModels/StatusCenterViewModel.cs b/src/Files.App/ViewModels/StatusCenterViewModel.cs index 7db2ed5c6d70..95c911e279cc 100644 --- a/src/Files.App/ViewModels/StatusCenterViewModel.cs +++ b/src/Files.App/ViewModels/StatusCenterViewModel.cs @@ -11,7 +11,6 @@ using Microsoft.UI.Xaml.Media; using System; using System.Collections.ObjectModel; -using System.Diagnostics; using System.Linq; using System.Threading; using System.Windows.Input; diff --git a/src/Files.App/ViewModels/ToolbarViewModel.cs b/src/Files.App/ViewModels/ToolbarViewModel.cs index c1a6088ed409..c59177990a74 100644 --- a/src/Files.App/ViewModels/ToolbarViewModel.cs +++ b/src/Files.App/ViewModels/ToolbarViewModel.cs @@ -7,7 +7,6 @@ using Files.App.Filesystem; using Files.App.Filesystem.StorageItems; using Files.App.Helpers; -using Files.App.ServicesImplementation; using Files.App.Shell; using Files.App.UserControls; using Files.App.Views; @@ -27,10 +26,8 @@ using System.ComponentModel; using System.IO; using System.Linq; -using System.Net.Http; using System.Threading.Tasks; using System.Windows.Input; -using Vanara.PInvoke; using Windows.ApplicationModel.DataTransfer; using Windows.Storage; using Windows.UI.Text; diff --git a/src/Files.App/Views/MainPage.xaml.cs b/src/Files.App/Views/MainPage.xaml.cs index 20b10ee677ac..c2a23f03593d 100644 --- a/src/Files.App/Views/MainPage.xaml.cs +++ b/src/Files.App/Views/MainPage.xaml.cs @@ -12,9 +12,7 @@ using Files.App.ViewModels; using Files.Backend.Extensions; using Files.Backend.Services.Settings; -using Files.Shared.Enums; using Files.Shared.EventArguments; -using Microsoft.UI; using Microsoft.UI.Windowing; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; diff --git a/src/Files.App/Views/Pages/Properties.xaml.cs b/src/Files.App/Views/Pages/Properties.xaml.cs index af52509f7eca..abb57dbc19d2 100644 --- a/src/Files.App/Views/Pages/Properties.xaml.cs +++ b/src/Files.App/Views/Pages/Properties.xaml.cs @@ -10,7 +10,6 @@ using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; using Microsoft.UI.Xaml.Input; -using Microsoft.UI.Xaml.Markup; using Microsoft.UI.Xaml.Navigation; using System; using System.Linq; diff --git a/src/Files.App/Views/Pages/PropertiesCustomization.xaml.cs b/src/Files.App/Views/Pages/PropertiesCustomization.xaml.cs index 62fbc6aa7cd7..b50021c73515 100644 --- a/src/Files.App/Views/Pages/PropertiesCustomization.xaml.cs +++ b/src/Files.App/Views/Pages/PropertiesCustomization.xaml.cs @@ -1,4 +1,3 @@ -using Files.App.Filesystem; using Files.App.Helpers; using Files.App.ViewModels.Properties; using Microsoft.UI.Xaml; diff --git a/src/Files.App/Views/Pages/PropertiesDetails.xaml.cs b/src/Files.App/Views/Pages/PropertiesDetails.xaml.cs index 2d1626caa8b5..62b03a925eea 100644 --- a/src/Files.App/Views/Pages/PropertiesDetails.xaml.cs +++ b/src/Files.App/Views/Pages/PropertiesDetails.xaml.cs @@ -1,5 +1,4 @@ using Files.App.Dialogs; -using Files.App.Filesystem; using Files.App.Helpers; using Files.App.ViewModels.Properties; using Files.Shared.Enums; diff --git a/src/Files.App/Views/Pages/PropertiesSecurityAdvanced.xaml.cs b/src/Files.App/Views/Pages/PropertiesSecurityAdvanced.xaml.cs index b3a3d3577200..f65fff25038b 100644 --- a/src/Files.App/Views/Pages/PropertiesSecurityAdvanced.xaml.cs +++ b/src/Files.App/Views/Pages/PropertiesSecurityAdvanced.xaml.cs @@ -10,7 +10,6 @@ using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; using Microsoft.UI.Xaml.Input; -using Microsoft.UI.Xaml.Markup; using Microsoft.UI.Xaml.Navigation; using Microsoft.Windows.ApplicationModel.Resources; using System; diff --git a/src/Files.App/Views/Pages/PropertiesShortcut.xaml.cs b/src/Files.App/Views/Pages/PropertiesShortcut.xaml.cs index b4ba36d41bea..a91982d853fb 100644 --- a/src/Files.App/Views/Pages/PropertiesShortcut.xaml.cs +++ b/src/Files.App/Views/Pages/PropertiesShortcut.xaml.cs @@ -1,4 +1,3 @@ -using Files.App.Filesystem; using Files.App.ViewModels.Properties; using System.Threading.Tasks; diff --git a/src/Files.App/Views/SettingsPages/Appearance.xaml.cs b/src/Files.App/Views/SettingsPages/Appearance.xaml.cs index 476ea848c65c..b7b7eb5f7262 100644 --- a/src/Files.App/Views/SettingsPages/Appearance.xaml.cs +++ b/src/Files.App/Views/SettingsPages/Appearance.xaml.cs @@ -1,8 +1,3 @@ -using CommunityToolkit.WinUI.UI; -using Files.App.Dialogs; -using Files.App.Helpers.XamlHelpers; -using Files.App.UserControls.Settings; -using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; namespace Files.App.SettingsPages diff --git a/src/Files.App/Views/SettingsPages/Appearance/AppThemeResource.cs b/src/Files.App/Views/SettingsPages/Appearance/AppThemeResource.cs index 877e495398e3..f95eaa62712e 100644 --- a/src/Files.App/Views/SettingsPages/Appearance/AppThemeResource.cs +++ b/src/Files.App/Views/SettingsPages/Appearance/AppThemeResource.cs @@ -1,9 +1,4 @@ using Microsoft.UI.Xaml.Media; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using Windows.UI; namespace Files.App.Views.SettingsPages.Appearance diff --git a/src/Files.App/Views/SettingsPages/Appearance/AppThemeResourcesFactory.cs b/src/Files.App/Views/SettingsPages/Appearance/AppThemeResourcesFactory.cs index 621504ee4759..c065afd6c03e 100644 --- a/src/Files.App/Views/SettingsPages/Appearance/AppThemeResourcesFactory.cs +++ b/src/Files.App/Views/SettingsPages/Appearance/AppThemeResourcesFactory.cs @@ -1,5 +1,4 @@ -using Files.App.Views.SettingsPages.Appearance; -using Microsoft.UI.Xaml.Media; +using Microsoft.UI.Xaml.Media; using System.Collections.ObjectModel; using Windows.UI; diff --git a/src/Files.App/Views/WidgetsPage.xaml.cs b/src/Files.App/Views/WidgetsPage.xaml.cs index 1d207df950b0..29b34f175650 100644 --- a/src/Files.App/Views/WidgetsPage.xaml.cs +++ b/src/Files.App/Views/WidgetsPage.xaml.cs @@ -1,5 +1,4 @@ using CommunityToolkit.Mvvm.DependencyInjection; -using Files.App.DataModels.NavigationControlItems; using Files.App.Dialogs; using Files.App.Extensions; using Files.App.Filesystem; diff --git a/src/Files.Backend/Services/IUpdateService.cs b/src/Files.Backend/Services/IUpdateService.cs index 358ec88738ae..9134da609831 100644 --- a/src/Files.Backend/Services/IUpdateService.cs +++ b/src/Files.Backend/Services/IUpdateService.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; +using System.ComponentModel; using System.Threading; using System.Threading.Tasks; diff --git a/src/Files.Backend/Services/Settings/IPreviewPaneSettingsService.cs b/src/Files.Backend/Services/Settings/IPreviewPaneSettingsService.cs index 71b16fc7caba..3c286506b13e 100644 --- a/src/Files.Backend/Services/Settings/IPreviewPaneSettingsService.cs +++ b/src/Files.Backend/Services/Settings/IPreviewPaneSettingsService.cs @@ -1,5 +1,4 @@ -using Files.Shared.Enums; -using System.ComponentModel; +using System.ComponentModel; namespace Files.Backend.Services.Settings { diff --git a/src/Files.Shared/Logger.cs b/src/Files.Shared/Logger.cs index d96fd7c39054..fec70cdb2fb0 100644 --- a/src/Files.Shared/Logger.cs +++ b/src/Files.Shared/Logger.cs @@ -2,7 +2,6 @@ using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading; -using System.Threading.Tasks; namespace Files.Shared { diff --git a/tests/Files.InteractionTests/Tests/FolderTests.cs b/tests/Files.InteractionTests/Tests/FolderTests.cs index bcd2f74bb00d..336ea3d51d72 100644 --- a/tests/Files.InteractionTests/Tests/FolderTests.cs +++ b/tests/Files.InteractionTests/Tests/FolderTests.cs @@ -1,8 +1,6 @@ using OpenQA.Selenium; using OpenQA.Selenium.Interactions; -using System; using System.Threading; -using static System.Collections.Specialized.BitVector32; namespace Files.InteractionTests.Tests {