fix: ws now works as expexted

This commit is contained in:
Fredrik Burmester
2024-08-20 08:42:52 +02:00
parent 4873aaf3df
commit 09f953ebba
6 changed files with 111 additions and 125 deletions

View File

@@ -25,7 +25,7 @@ export const CurrentlyPlayingBar: React.FC = () => {
pauseVideo,
playVideo,
setCurrentlyPlayingState,
stopVideo,
stopPlayback,
setIsPlaying,
isPlaying,
videoRef,
@@ -260,7 +260,7 @@ export const CurrentlyPlayingBar: React.FC = () => {
</TouchableOpacity>
<TouchableOpacity
onPress={() => {
setCurrentlyPlayingState(null);
stopPlayback();
}}
className="aspect-square rounded flex flex-col items-center justify-center p-2"
>