Skip to content

Commit

Permalink
Fix NotificationVolume
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckyz committed Jan 31, 2025
1 parent 932130d commit 3656526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/notificationVolume/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ export default definePlugin({
settings,
patches: [
{
find: "_ensureAudio(){",
find: "ensureAudio(){",
replacement: {
match: /(?=Math\.min\(\i\.\i\.getOutputVolume\(\)\/100)/,
match: /(?=Math\.min\(\i\.\i\.getOutputVolume\(\)\/100)/g,
replace: "$self.settings.store.notificationVolume/100*"
},
},
Expand Down

0 comments on commit 3656526

Please sign in to comment.