add option to hide the like buttons

fix #1075
This commit is contained in:
Araxeus
2023-03-16 18:58:52 +02:00
parent e972fd15c2
commit 640ba26d55
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");