mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:43:25 +00:00
fix: idiotism
This commit is contained in:
@@ -88,9 +88,9 @@ export const VideoPlayer = () => {
|
||||
const togglePlayback = () => {
|
||||
setShouldPlay(!shouldPlay);
|
||||
if (shouldPlay) {
|
||||
void pauseAudio();
|
||||
} else {
|
||||
void playAudio();
|
||||
} else {
|
||||
void pauseAudio();
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user