1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-29 07:52:50 -05:00

clipboard: fix file transfer & export functionality

- grants read to all installed flatpak apps
This commit is contained in:
bbedward
2026-01-26 17:58:06 -05:00
parent 705d5b04dd
commit 8499033221
30 changed files with 3940 additions and 838 deletions

View File

@@ -328,12 +328,25 @@ Item {
function loadPluginCategories(pluginId) {
if (!pluginId) {
activePluginCategories = [];
activePluginCategory = "";
if (activePluginCategories.length > 0) {
activePluginCategories = [];
activePluginCategory = "";
}
return;
}
const categories = AppSearchService.getPluginLauncherCategories(pluginId);
if (categories.length === activePluginCategories.length) {
let same = true;
for (let i = 0; i < categories.length; i++) {
if (categories[i].id !== activePluginCategories[i]?.id) {
same = false;
break;
}
}
if (same)
return;
}
activePluginCategories = categories;
activePluginCategory = "";
AppSearchService.setPluginLauncherCategory(pluginId, "");