mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-19 19:37:01 -04:00
Fix LoginWithQR Patch
This commit is contained in:
parent
5b568d708c
commit
fe66fc4762
10 changed files with 4 additions and 12 deletions
|
@ -68,8 +68,8 @@ export default definePlugin({
|
|||
{
|
||||
find: "Messages.MULTI_ACCOUNT_MENU_LABEL",
|
||||
replacement: {
|
||||
// Insert our own MenuItem before the Switch Account button
|
||||
match: /children:\[(.{54}id:"switch-account")/,
|
||||
// Insert our own MenuItem before the Switch Accounts button
|
||||
match: /children:\[(.{0,54}id:"switch-accounts")/,
|
||||
replace: "children:[$self.ScanQrMenuItem,$1",
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue