Skip to content

Commit 5043768

Browse files
fix: remove unused condition for clearing recycle bin in explorer compatibility
1 parent f111387 commit 5043768

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/shell/script/ts/src/compats/explorer_compat.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ export const doExplorerCompat = () => {
44
menu_controller.add_menu_listener(ctx => {
55
for (const items of ctx.menu.items) {
66
const data = items.data()
7-
if (data.name_resid === '10580@SHELL32.dll' /* 清空回收站 */ || data.name === '清空回收站') {
8-
items.update_data({
9-
disabled: false
10-
})
11-
}
127

138
if (data.name?.startsWith('NVIDIA ')) {
149
items.update_data({

0 commit comments

Comments
 (0)