Fix Patches
This commit is contained in:
parent
cd793f862a
commit
d94f9e1d44
5 changed files with 5 additions and 5 deletions
|
|
@ -79,7 +79,7 @@ export default definePlugin({
|
|||
|
||||
patches: [
|
||||
{
|
||||
find: "=!0,toolbar:",
|
||||
find: ".controlButtonWrapper,",
|
||||
replacement: {
|
||||
match: /(function \i\(\i\){)(.{1,200}toolbar.{1,100}mobileToolbar)/,
|
||||
replace: "$1$self.toolbarAction(arguments[0]);$2"
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ export default definePlugin({
|
|||
}
|
||||
},
|
||||
{
|
||||
find: "=!0,toolbar:",
|
||||
find: ".controlButtonWrapper,",
|
||||
predicate: () => settings.store.ShowLogsButton,
|
||||
replacement: {
|
||||
match: /(function \i\(\i\){)(.{1,200}toolbar.{1,100}mobileToolbar)/,
|
||||
|
|
|
|||
|
|
@ -277,7 +277,7 @@ export default definePlugin({
|
|||
predicate: () => !settings.store.useNavBar
|
||||
},
|
||||
{
|
||||
find: "=!0,toolbar:",
|
||||
find: ".controlButtonWrapper,",
|
||||
replacement: {
|
||||
match: /(function \i\(\i\){)(.{1,200}toolbar.{1,200}mobileToolbar)/,
|
||||
replace: "$1$self.toolbarAction(arguments[0]);$2"
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ export default definePlugin({
|
|||
settings,
|
||||
patches: [
|
||||
{
|
||||
find: "=!0,toolbar:",
|
||||
find: ".controlButtonWrapper,",
|
||||
replacement: {
|
||||
match: /(function \i\(\i\){)(.{1,200}toolbar.{1,450}mobileToolbar)/,
|
||||
replace: "$1$self.addIconToToolBar(arguments[0]);$2"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ export default definePlugin({
|
|||
patches: [
|
||||
{
|
||||
predicate: () => settings.store.IconLocation === "toolbar",
|
||||
find: "=!0,toolbar:",
|
||||
find: ".controlButtonWrapper,",
|
||||
replacement: {
|
||||
match: /(function \i\(\i\){)(.{1,500}toolbar.{1,500}mobileToolbar)/,
|
||||
replace: "$1$self.addSBIconToToolBar(arguments[0]);$2"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue