master
qier222 4 years ago
parent 1f02f6c71f
commit b059de17fb
No known key found for this signature in database
GPG Key ID: 9C85007ED905F14D

@ -485,7 +485,6 @@ export default {
},
outputDevice: {
get() {
if (this.withoutAudioPrivilege === true) this.getAllOutputDevices();
const isValidDevice = this.allOutputDevices.find(
device => device.deviceId === this.settings.outputDevice
);
@ -679,9 +678,11 @@ export default {
},
created() {
this.countDBSize('tracks');
if (process.env.IS_ELECTRON) this.getAllOutputDevices();
},
activated() {
this.countDBSize('tracks');
if (process.env.IS_ELECTRON) this.getAllOutputDevices();
},
methods: {
...mapActions(['showToast']),

Loading…
Cancel
Save