mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
feat: checkmark if track is active
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { create } from "zustand";
|
||||
import { immer } from "zustand/middleware/immer";
|
||||
|
||||
import type { AudioTrack } from "../player/slices/interface";
|
||||
import type { AudioTrack } from "~/components/player/AudioTrackSelector";
|
||||
|
||||
export interface AudioTrackStore {
|
||||
selectedTrack: AudioTrack | null;
|
||||
|
@@ -3,18 +3,13 @@ import type { SeasonDetails } from "@movie-web/tmdb";
|
||||
|
||||
import type { MakeSlice } from "./types";
|
||||
import type { ItemData } from "~/components/item/item";
|
||||
import type { AudioTrack } from "~/components/player/AudioTrackSelector";
|
||||
|
||||
export enum PlayerStatus {
|
||||
SCRAPING,
|
||||
READY,
|
||||
}
|
||||
|
||||
export interface AudioTrack {
|
||||
uri: string;
|
||||
name: string;
|
||||
language: string;
|
||||
}
|
||||
|
||||
export interface InterfaceSlice {
|
||||
interface: {
|
||||
isIdle: boolean;
|
||||
|
Reference in New Issue
Block a user