fix quacksires fucky fuck fuck stupid ass code that somehow made it in.
This commit is contained in:
parent
5bdc1c1beb
commit
d6981492a0
1 changed files with 5 additions and 5 deletions
|
@ -672,9 +672,9 @@ const app = new Vue({
|
||||||
|
|
||||||
// Load saved quality
|
// Load saved quality
|
||||||
switch (app.cfg.audio.quality) {
|
switch (app.cfg.audio.quality) {
|
||||||
/** case "extreme":
|
case "extreme":
|
||||||
app.mk.bitrate = app.cfg.audio.quality = 990
|
app.mk.bitrate = app.cfg.audio.quality = 990
|
||||||
break; **/
|
break;
|
||||||
case "high":
|
case "high":
|
||||||
app.mk.bitrate = app.cfg.audio.quality = 256
|
app.mk.bitrate = app.cfg.audio.quality = 256
|
||||||
break;
|
break;
|
||||||
|
@ -1002,11 +1002,11 @@ const app = new Vue({
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
copyToClipboard(str) {
|
copyToClipboard(str) {
|
||||||
if (process.platform === 'darwin') {
|
if (navigator.userAgent.includes('Darwin')) {
|
||||||
this.darwinShare(str)
|
this.darwinShare(str)
|
||||||
} else {
|
} else {
|
||||||
notyf.success(app.getLz('term.share.success'))
|
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 = []) {
|
newPlaylist(name = app.getLz('term.newPlaylist'), tracks = []) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue