MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-

View on GitHub
src/renderer/ui/components/settings/tabs/PlaybackTab.js

Summary

Maintainability
A
0 mins
Test Coverage
import React, { Component } from 'react';

import SettingsTabWrapper from './SettingsTabWrapper';
import AudioDeviceSelector from '../AudioDeviceSelector';
import ToggleableOption from '../ToggleableOption';

export default class PlaybackTab extends Component {
  render() {
    return (
      <SettingsTabWrapper>
        <AudioDeviceSelector />
        <ToggleableOption
          label={TranslationProvider.query('settings-option-try-supported-channel-layouts')}
          settingsKey={"trySupportedChannelLayouts"}
          hintLabel={TranslationProvider.query('settings-requires-restart')}
        />
        <ToggleableOption label={TranslationProvider.query('settings-option-skip-bad-songs')} settingsKey={"skipBadSongs"} />
      </SettingsTabWrapper>
    );
  }
}