refactor: remove Cargo.lock from .gitignore #400

This commit is contained in:
Prayag Prajapati committed 2024-09-28 19:00:47 +05:30
1 parent b8f2f9ae67
commit 1265e2281b
12 files changed
+7092 -3056

No files matched your search

+1 -1
View File
@@ -43,12 +43,12 @@ import "@fontsource-variable/jetbrains-mono";
import "@fontsource-variable/noto-sans";
import "material-symbols/rounded.scss";
import { ErrorNotice } from "@/components/notices/errorNotice/errorNotice";
import type { Api, Jellyfin } from "@jellyfin/sdk";
import type { UserDto } from "@jellyfin/sdk/lib/generated-client";
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
import { DndProvider } from "react-dnd";
import { HTML5Backend } from "react-dnd-html5-backend";
import { ErrorNotice } from "@/components/notices/errorNotice/errorNotice";
type ApiContext = {
api: Api;
+11 -5
View File
@@ -126,9 +126,11 @@ function AudioPlayerRoute() {
Array.isArray(newVal)
? setProgress(ticksToSec(newVal[0]))
: setProgress(ticksToSec(newVal));
audioPlayer?.currentTime = Array.isArray(newVal)
? ticksToSec(newVal[0])
: ticksToSec(newVal);
if (audioPlayer) {
audioPlayer.currentTime = Array.isArray(newVal)
? ticksToSec(newVal[0])
: ticksToSec(newVal);
}
}}
sx={{
"& .MuiSlider-thumb": {
@@ -167,7 +169,9 @@ function AudioPlayerRoute() {
<PlayPreviousButton />
<IconButton
onClick={() => {
audioPlayer?.currentTime -= SEEK_AMOUNT;
if (audioPlayer) {
audioPlayer.currentTime -= SEEK_AMOUNT;
}
}}
>
<span className="material-symbols-rounded">fast_rewind</span>
@@ -193,7 +197,9 @@ function AudioPlayerRoute() {
</Fab>
<IconButton
onClick={() => {
audioPlayer?.currentTime += SEEK_AMOUNT;
if (audioPlayer) {
audioPlayer.currentTime += SEEK_AMOUNT;
}
}}
>
<span className="material-symbols-rounded">fast_forward</span>