mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
fix: typo
This commit is contained in:
@@ -75,7 +75,7 @@ export const VideoPlayer = () => {
|
||||
const setMeta = usePlayerStore((state) => state.setMeta);
|
||||
|
||||
const { gestureControls, autoPlay } = usePlayerSettingsStore();
|
||||
const { updateWatchHistory, removeFromWatchHistory, getWatchHistorItem } =
|
||||
const { updateWatchHistory, removeFromWatchHistory, getWatchHistoryItem } =
|
||||
useWatchHistoryStore();
|
||||
|
||||
const updateResizeMode = (newMode: ResizeMode) => {
|
||||
@@ -242,7 +242,7 @@ export const VideoPlayer = () => {
|
||||
|
||||
if (meta) {
|
||||
const media = convertMetaToScrapeMedia(meta);
|
||||
const watchHistoryItem = getWatchHistorItem(media);
|
||||
const watchHistoryItem = getWatchHistoryItem(media);
|
||||
|
||||
if (watchHistoryItem) {
|
||||
void videoRef.setPositionAsync(watchHistoryItem.positionMillis);
|
||||
|
Reference in New Issue
Block a user