From d6981492a0913fec6f4ad96bf42f0ac017da4b30 Mon Sep 17 00:00:00 2001 From: cryptofyre Date: Fri, 4 Feb 2022 21:46:20 -0600 Subject: [PATCH] fix quacksires fucky fuck fuck stupid ass code that somehow made it in. --- src/renderer/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/renderer/index.js b/src/renderer/index.js index db61500b..9693438a 100644 --- a/src/renderer/index.js +++ b/src/renderer/index.js @@ -672,9 +672,9 @@ const app = new Vue({ // Load saved quality switch (app.cfg.audio.quality) { - /** case "extreme": - app.mk.bitrate = app.cfg.audio.quality = 990 - break; **/ + case "extreme": + app.mk.bitrate = app.cfg.audio.quality = 990 + break; case "high": app.mk.bitrate = app.cfg.audio.quality = 256 break; @@ -1002,11 +1002,11 @@ const app = new Vue({ }) }, copyToClipboard(str) { - if (process.platform === 'darwin') { + if (navigator.userAgent.includes('Darwin')) { this.darwinShare(str) } else { notyf.success(app.getLz('term.share.success')) - navigator.clipboard.writeText(str) + navigator.clipboard.writeText(str).then(r => console.log("Copied to clipboard.")) } }, newPlaylist(name = app.getLz('term.newPlaylist'), tracks = []) {