Try to fix indexeddb stuff

This commit is contained in:
thororen1234 2026-04-30 15:14:46 -04:00
parent 6b209b2ab2
commit 29c18e8ec1
No known key found for this signature in database

View file

@ -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) {