From 5f3c2c48951706006b5a0bc67b80144f0c7e1435 Mon Sep 17 00:00:00 2001 From: lovegaoshi <106490582+lovegaoshi@users.noreply.github.com> Date: Tue, 7 Nov 2023 12:19:57 -0800 Subject: [PATCH] chore: code clean up --- src/services/PlaybackService.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/services/PlaybackService.ts b/src/services/PlaybackService.ts index 9479eead..1952eda1 100644 --- a/src/services/PlaybackService.ts +++ b/src/services/PlaybackService.ts @@ -12,7 +12,7 @@ import { logger } from '../utils/Logger'; import noxPlayingList, { getNextSong } from '../stores/playingList'; import { NoxRepeatMode } from '../enums/RepeatMode'; import playerSettingStore from '@stores/playerSettingStore'; -import appStore, {resetResolvedURL} from '@stores/appStore'; +import appStore, { resetResolvedURL } from '@stores/appStore'; import { fadePause, cycleThroughPlaymode, @@ -49,9 +49,6 @@ export async function AdditionalPlaybackService({ } export async function PlaybackService() { - let abRepeat = [0, 1]; - let bRepeatDuration = 9999; - DeviceEventEmitter.addListener('APMEnterPIP', (e: boolean) => setState({ pipMode: e }) );