Fix linting

This commit is contained in:
Jason Henriquez 2024-10-28 09:09:39 -05:00
parent 687ef1e889
commit fa35784522
3 changed files with 1 additions and 6 deletions

View File

@ -2725,11 +2725,7 @@ export default defineComponent({
* To workaround that we destroy the player first and wait for it to finish before we unmount this component.
*/
async function destroyPlayer() {
if (ui) {
if (ui.getControls()) {
// save the state of player settings to reinitialize them upon next creation
const controls = ui.getControls()

View File

@ -199,7 +199,6 @@ export default defineComponent({
},
viewingModeNames: function () {
const viewingModeNames = [
this.$t('Settings.General Settings.Thumbnail Preference.Default'),
...(process.env.IS_ELECTRON ? [this.$t('Settings.Player Settings.Default Viewing Mode.Full Screen')] : []),