Try to fix indexeddb stuff
This commit is contained in:
parent
6b209b2ab2
commit
29c18e8ec1
1 changed files with 14 additions and 0 deletions
|
|
@ -309,6 +309,20 @@ export default definePlugin({
|
|||
}
|
||||
],
|
||||
predicate: () => Settings.winNativeTitleBar,
|
||||
},
|
||||
{
|
||||
find: ".completeOperation(",
|
||||
replacement: {
|
||||
match: /(?<=this\.nextId\(\);)(\i\(\i\)),(.{0,200}reject:\i\}\))/,
|
||||
replace: "$2,$1"
|
||||
}
|
||||
},
|
||||
{
|
||||
find: "discarding speculative database",
|
||||
replacement: {
|
||||
match: /await (\i)\((\i)\)(?=;.{0,15}this\.databases)/,
|
||||
replace: "$&.catch(()=>null)"
|
||||
}
|
||||
}
|
||||
],
|
||||
renderMessageAccessory(props) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue