Choose subtitle track from title page

This commit is contained in:
Prayag Prajapati committed 2023-06-10 17:49:48 +05:30
1 parent d9644f325c
commit c8a7f8a632
8 files changed
+49 -23

No files matched your search

+16 -2
View File
@@ -26,6 +26,7 @@ import { MdiHeartOutline } from "../icons/mdiHeartOutline";
import { MdiArrowLeft } from "../icons/mdiArrowLeft";
import { MdiCog } from "../icons/mdiCog";
import { MdiInformation } from "../icons/mdiInformation";
import { MdiMenu } from "../icons/mdiMenu";
export const AppBar = () => {
const navigate = useNavigate();
@@ -87,13 +88,18 @@ export const AppBar = () => {
return (
<MuiAppBar
sx={{
width: `calc(100vw - ${theme.spacing(7)})`,
backgroundColor: "transparent",
paddingRight: "0 !important",
}}
className={trigger ? "appBar backdropVisible" : "appBar"}
elevation={0}
>
<Toolbar sx={{ justifyContent: "space-between" }}>
<Toolbar
sx={{
justifyContent: "space-between",
paddingLeft: "12px !important",
}}
>
<Box
sx={{
display: "flex",
@@ -101,6 +107,13 @@ export const AppBar = () => {
alignItems: "center",
}}
>
<IconButton
color="inherit"
aria-label="open drawer"
// onClick={handleDrawerOpen}
>
<MdiMenu />
</IconButton>
<IconButton
onClick={() => navigate(-1)}
sx={{
@@ -109,6 +122,7 @@ export const AppBar = () => {
? "scale(1)"
: "scale(0)",
transformOrigin: "left",
ml: 2,
}}
>
<MdiArrowLeft />
+1 -7
View File
@@ -117,6 +117,7 @@ export const SideMenu = ({}) => {
border: "none",
width: `calc(${theme.spacing(7)} + 10px)`,
height: "100vh",
zIndex: "1",
// display: visible ? "block" : "none",
},
}}
@@ -137,13 +138,6 @@ export const SideMenu = ({}) => {
{user["Name"]}
</Typography>
</div> */}
<IconButton
color="inherit"
aria-label="open drawer"
onClick={handleDrawerOpen}
>
<MdiMenu />
</IconButton>
</DrawerHeader>
<Divider />
{libraries.isLoading ? (
@@ -9,7 +9,7 @@ export const EmptyNotice = () => {
<Box
sx={{
width: "100%",
height: "100%",
height: "100vh",
display: "flex",
justifyContent: "center",
alignItems: "center",
@@ -9,7 +9,7 @@ export const ErrorNotice = () => {
<Box
sx={{
width: "100%",
height: "100%",
height: "100vh",
display: "flex",
justifyContent: "center",
alignItems: "center",