1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-16 01:02:46 -04:00

launcher: fix files tab actions

fixes #2357
This commit is contained in:
bbedward
2026-05-08 09:20:14 -04:00
parent 1c01774fde
commit d8835f2bc6
@@ -69,6 +69,13 @@ Rectangle {
}
}
break;
case "file":
if (selectedItem?.actions) {
for (var i = 0; i < selectedItem.actions.length; i++) {
result.push(selectedItem.actions[i]);
}
}
break;
}
return result;
}
@@ -81,6 +88,8 @@ Rectangle {
return getPluginContextMenuActions().length > 0;
case "plugin_browse":
return selectedItem?.actions?.length > 0;
case "file":
return selectedItem?.actions?.length > 0;
default:
return actions.length > 1;
}