添加播放图标
@ -1,9 +1,11 @@
|
||||
// import resolveAssetSource from 'react-native/Libraries/Image/resolveAssetSource'
|
||||
import defaultUrl from '@/resources/medias/Silence02s.mp3'
|
||||
import notificationIcon from '@/resources/images/notification.xhdpi.png'
|
||||
// const defaultUrl = resolveAssetSource(resourceDefaultUrl).uri
|
||||
|
||||
export {
|
||||
defaultUrl,
|
||||
notificationIcon,
|
||||
}
|
||||
// export const defaultUrl = require('@/resources/medias/Silence02s.mp3')
|
||||
|
||||
|
@ -273,7 +273,7 @@ export const updateOptions = (options = {
|
||||
// stopIcon: require('./stop-icon.png'),
|
||||
// previousIcon: require('./previous-icon.png'),
|
||||
// nextIcon: require('./next-icon.png'),
|
||||
// icon: require('./notification-icon.png'), // The notification icon
|
||||
// icon: notificationIcon, // The notification icon
|
||||
}) => {
|
||||
return TrackPlayer.updateOptions(options)
|
||||
}
|
||||
|
BIN
src/resources/images/notification.hdpi.png
Normal file
After Width: | Height: | Size: 641 B |
BIN
src/resources/images/notification.ldpi.png
Normal file
After Width: | Height: | Size: 356 B |
BIN
src/resources/images/notification.mdpi.png
Normal file
After Width: | Height: | Size: 445 B |
BIN
src/resources/images/notification.xhdpi.png
Normal file
After Width: | Height: | Size: 839 B |
BIN
src/resources/images/notification2.hdpi.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
src/resources/images/notification2.ldpi.png
Normal file
After Width: | Height: | Size: 573 B |
BIN
src/resources/images/notification2.mdpi.png
Normal file
After Width: | Height: | Size: 771 B |
BIN
src/resources/images/notification2.xhdpi.png
Normal file
After Width: | Height: | Size: 1.4 KiB |