Merge pull request #1077 from Araxeus/Add-option-to-remove-like-buttons

add option to hide the like buttons
This commit is contained in:
th-ch
2023-03-19 20:00:48 +01:00
committed by GitHub
3 changed files with 42 additions and 10 deletions

View File

@ -19,6 +19,11 @@ const migrations = {
...pluginOptions,
});
}
if (store.get("options.ForceShowLikeButtons")) {
store.delete("options.ForceShowLikeButtons");
store.set("options.likeButtons", 'force');
}
},
">=1.17.0": (store) => {
setDefaultPluginOptions(store, "picture-in-picture");