[skip-ci] small refactor

This commit is contained in:
Brahim Hadriche committed 2024-12-26 17:49:26 -05:00
1 parent 310d53dd61
commit fa3921cd33
2 files changed
+47 -13

No files matched your search

+3
View File
@@ -110,6 +110,9 @@
try {
isLoading = true;
videoMetadata = await PlayletApi.getVideoInfo(videoId);
if (videoMetadata?.error) {
throw videoMetadata.error;
}
videoStartAtChecked = timestamp !== undefined;
if (videoStartAtChecked) {
videoStartAtTimestamp = timestamp;