signal-desktop/ts/state/selectors/audioPlayer.ts
2021-06-29 12:58:29 -07:00

8 lines
240 B
TypeScript

// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { StateType } from '../reducer';
export const isPaused = (state: StateType): boolean => {
return state.audioPlayer.activeAudioID === undefined;
};