fix: Volume Button Scroll on Next Chapter (Closes #719)

This commit is contained in:
Rajarshee Chatterjee
2023-09-02 17:17:05 +05:30
parent 5037fa693a
commit e955069190
+1 -1
View File
@@ -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) {