import React, { useCallback, memo, useMemo, useEffect } from 'react'
import { Text, StyleSheet, View } from 'react-native'
import { usePlayTime } from '@/utils/hooks'
import { useGetter } from '@/store'
import Progress from '@/components/player/Progress'
import Status from './Status'
const PlayTimeCurrent = ({ timeStr }) => {
const theme = useGetter('common', 'theme')
// console.log(timeStr)
return {timeStr}
}
const PlayTimeMax = memo(({ timeStr }) => {
const theme = useGetter('common', 'theme')
return {timeStr}
})
export default () => {
const { curTimeStr, maxTimeStr, progress, bufferedProgress, duration } = usePlayTime()
const theme = useGetter('common', 'theme')
return (
<>
{/* */}
/
>
)
}
const styles = StyleSheet.create({
progress: {
height: 14,
flexGrow: 1,
flexShrink: 0,
flexDirection: 'column',
justifyContent: 'center',
marginBottom: -2,
// height:
// position: 'absolute',
// width: '100%',
// top: 0,
},
})