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 />