fix: Volume Button Scroll on Next Chapter (Closes #719)
This commit is contained in:
@@ -151,7 +151,7 @@ const ChapterContent = ({ route, navigation }) => {
|
||||
emmiter.current.removeAllListeners('VolumeDown');
|
||||
};
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [useVolumeButtons, scrollAmount]);
|
||||
}, [useVolumeButtons, scrollAmount, chapter]);
|
||||
|
||||
const onLayout = useCallback(() => {
|
||||
if (useVolumeButtons) {
|
||||
|
||||
Reference in New Issue
Block a user