Fix NotificationVolume

main
Nuckyz 9 months ago
parent e0166ef1e6
commit 7de54a294f
No known key found for this signature in database
GPG Key ID: 440BF8296E1C4AD9

@ -27,8 +27,8 @@ export default definePlugin({
{
find: "_ensureAudio(){",
replacement: {
match: /onloadeddata=\(\)=>\{.\.volume=/,
replace: "$&$self.settings.store.notificationVolume/100*"
match: /(?=Math\.min\(\i\.\i\.getOutputVolume\(\)\/100)/,
replace: "$self.settings.store.notificationVolume/100*"
},
},
],

Loading…
Cancel
Save