mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-28 15:32:50 -05:00
clipboard: fix file transfer & export functionality
- grants read to all installed flatpak apps
This commit is contained in:
@@ -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, "");
|
||||
|
||||
Reference in New Issue
Block a user