signal-desktop/ts/state/selectors/audioPlayer.ts

9 lines
245 B
TypeScript
Raw Normal View History

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