mirror of
https://github.com/khairul169/home-lab.git
synced 2025-04-28 16:49:36 +07:00
feat: update audio player slider color
This commit is contained in:
parent
d3b89113ae
commit
6a8b2d4dee
@ -167,7 +167,10 @@ const AudioPlayer = ({ path, uri }: Props) => {
|
||||
((status?.positionMillis || 0) / (status?.durationMillis || 1)) *
|
||||
100
|
||||
}
|
||||
containerStyle={cn("w-full my-4 md:my-8")}
|
||||
thumbStyle={cn("bg-blue-500")}
|
||||
trackStyle={cn("bg-white/30 rounded-full h-2")}
|
||||
minimumTrackTintColor="#6366F1"
|
||||
containerStyle={cn("w-full max-w-3xl mx-auto my-4 md:my-8")}
|
||||
onValueChange={async (value) => {
|
||||
if (!soundRef.current) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user