refactor to tamagui

This commit is contained in:
Jorrin
2024-03-18 22:02:54 +01:00
parent 069c8cbb89
commit 52978f6d68
75 changed files with 5537 additions and 2988 deletions

View File

@@ -6,9 +6,9 @@ export const usePlaybackSpeed = () => {
const videoRef = usePlayerStore((state) => state.videoRef);
const changePlaybackSpeed = useCallback(
(newValue: number) => {
async (newValue: number) => {
if (videoRef) {
void videoRef.setRateAsync(newValue, true);
await videoRef.setRateAsync(newValue, true);
}
},
[videoRef],