mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-05-31 02:58:28 +01:00
fix: can't play local media bug
appeared after playback rewrite
This commit is contained in:
@@ -18,7 +18,7 @@ interface Props extends React.ComponentProps<typeof Button> {
|
||||
export const PlayButton: React.FC<Props> = ({ item, url, ...props }) => {
|
||||
const { showActionSheetWithOptions } = useActionSheet();
|
||||
const client = useRemoteMediaClient();
|
||||
const { currentlyPlaying, setCurrentlyPlayingState } = usePlayback();
|
||||
const { setCurrentlyPlayingState } = usePlayback();
|
||||
|
||||
const onPress = async () => {
|
||||
if (!url || !item) return;
|
||||
|
||||
Reference in New Issue
Block a user