mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-14 17:13:03 -04:00
feat(LoginWithQR): Update (#93)
* fix: fix loginwithqr + devcompanion lazy fix * Description One Line --------- Co-authored-by: thororen <78185467+thororen1234@users.noreply.github.com>
This commit is contained in:
parent
a09a3a8a8f
commit
26c7feaa39
2 changed files with 4 additions and 4 deletions
|
@ -282,11 +282,11 @@ export function initWs(isManual = false) {
|
|||
const { find, replacement } = data as PatchData;
|
||||
|
||||
let candidates;
|
||||
if (data.findType === FindType.STRING)
|
||||
candidates = search(find.toString());
|
||||
if (data.findType === FindType.REGEX)
|
||||
candidates = search(...mkRegexFind(find));
|
||||
|
||||
else
|
||||
candidates = search(...mkRegexFind(find));
|
||||
candidates = search(find.toString());
|
||||
|
||||
// const candidates = search(find);
|
||||
const keys = Object.keys(candidates);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue