(state = store.state)
| 288 | const isRunning = (state = store.state) => !state.paused && !state.menuOpen; |
| 289 | // Whether user has enabled sound. |
| 290 | const soundEnabledSelector = (state = store.state) => state.soundEnabled; |
| 291 | // Whether any sounds are allowed, taking into account multiple factors. |
| 292 | const canPlaySoundSelector = (state = store.state) => isRunning(state) && soundEnabledSelector(state); |
| 293 | // Convert quality to number. |
no outgoing calls
no test coverage detected