Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
fix: move variables around and trigger deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanguy Antoine committed May 23, 2019
1 parent 91ab64b commit 6703bf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
*/

import { NativeModules, DeviceEventEmitter, NativeEventEmitter, Platform } from 'react-native'
const NativeMusicControl = NativeModules.MusicControlManager
// @ts-ignore
import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource'
// @ts-ignore
import constants from './constants'
import { Command } from './types'

const NativeMusicControl = NativeModules.MusicControlManager
let handlers: { [key in Command]?: (value: any) => void } = {}
let listenerOfNativeMusicControl: any = null
const IS_ANDROID = Platform.OS === 'android'
Expand Down Expand Up @@ -88,7 +88,7 @@ const MusicControl = {
})
NativeMusicControl.stopControl()
},
handleAudioInterruptions: function(enable: boolean): void {
handleAudioInterruptions: function(enable: boolean): void {
NativeMusicControl.observeAudioInterruptions(enable)
}
}
Expand Down

0 comments on commit 6703bf7

Please sign in to comment.