fix: play tracks from the right discs

fixes #275
This commit is contained in:
Lei Nelissen
2025-02-28 11:14:14 +01:00
parent c8e693991b
commit 9229bae007
2 changed files with 10 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
import React, { PropsWithChildren, useCallback } from 'react';
import { Pressable, ViewStyle } from 'react-native';
interface TouchableHandlerProps<T = number> {
interface TouchableHandlerProps<T> {
id: T;
onPress: (id: T) => void;
onLongPress?: (id: T) => void;