Skip to content

Commit aeb9be8

Browse files
committed
Revert again
1 parent 87a2659 commit aeb9be8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Files.App/Actions/FileSystem/EmptyRecycleBinAction.cs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Licensed under the MIT License.
33

44
using Microsoft.UI.Xaml.Controls;
5+
using Windows.Foundation.Metadata;
56

67
namespace Files.App.Actions
78
{

src/Files.App/Services/Storage/StorageTrashBinService.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
// Copyright (c) Files Community
22
// Licensed under the MIT License.
33

4-
using Microsoft.Extensions.Logging;
54
using System.Runtime.InteropServices;
65
using Windows.Win32;
76
using Windows.Win32.Foundation;
7+
using Windows.Win32.System.Com;
88
using Windows.Win32.UI.Shell;
9-
using static Vanara.PInvoke.Ole32;
109

1110
namespace Files.App.Services
1211
{
@@ -136,7 +135,7 @@ private unsafe bool RestoreAllTrashesInternal()
136135
hr = pFileOperation.Get()->PerformOperations();
137136

138137
// Reset the icon
139-
Win32PInvoke.SHUpdateRecycleBinIcon();
138+
PInvoke.SHUpdateRecycleBinIcon();
140139

141140
return true;
142141
}

0 commit comments

Comments
 (0)