mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:43:25 +00:00
chore: add selector to player controls
This commit is contained in:
@@ -11,7 +11,7 @@ import { Button } from "../ui/Button";
|
||||
import { Text } from "../ui/Text";
|
||||
import { Controls } from "./Controls";
|
||||
|
||||
export const CaptionsSelector = () => {
|
||||
export const AudioTrackSelector = () => {
|
||||
const tracks = usePlayerStore((state) => state.interface.audioTracks);
|
||||
|
||||
const setSelectedAudioTrack = useAudioTrackStore(
|
||||
|
@@ -3,6 +3,7 @@ import { TouchableOpacity, View } from "react-native";
|
||||
|
||||
import { usePlayerStore } from "~/stores/player/store";
|
||||
import { Text } from "../ui/Text";
|
||||
import { AudioTrackSelector } from "./AudioTrackSelector";
|
||||
import { CaptionsSelector } from "./CaptionsSelector";
|
||||
import { Controls } from "./Controls";
|
||||
import { ProgressBar } from "./ProgressBar";
|
||||
@@ -60,6 +61,7 @@ export const BottomControls = () => {
|
||||
<SeasonSelector />
|
||||
<CaptionsSelector />
|
||||
<SourceSelector />
|
||||
<AudioTrackSelector />
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
|
Reference in New Issue
Block a user