mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-04 04:28:30 -04:00
qs: large sweep of dead code removals
This commit is contained in:
@@ -252,11 +252,6 @@ Singleton {
|
||||
return paths;
|
||||
}
|
||||
|
||||
function pluginHasSurface(pluginId, surface) {
|
||||
const plugin = availablePlugins[pluginId];
|
||||
return !!(plugin && plugin.surfaces && plugin.surfaces.includes(surface));
|
||||
}
|
||||
|
||||
function _onManifestParsed(absPath, manifest, sourceTag, mtimeEpochMs) {
|
||||
if (!manifest || !manifest.id || !manifest.name || (!manifest.component && !manifest.components)) {
|
||||
log.error("invalid manifest fields:", absPath);
|
||||
@@ -839,10 +834,6 @@ Singleton {
|
||||
return plugin.pluginDirectory || "";
|
||||
}
|
||||
|
||||
function saveAllPluginSettings() {
|
||||
SettingsData.savePluginSettings();
|
||||
}
|
||||
|
||||
function getPluginStatePath(pluginId) {
|
||||
return Paths.strip(Paths.state) + "/plugins/" + pluginId + "_state.json";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user