Add "OFFSET" to Stream.tsx

This commit is contained in:
0x1eef 2023-12-04 00:14:35 -03:00
parent 46850a8cfb
commit 270e9a06ff

View file

@ -14,6 +14,14 @@ interface Props {
t: TFunction;
}
/*
Provides a number that increments the value of the 'top'
parameter given to scrollBy() during auto-scroll. This
variable came from the scroll height provided by iOS being
less than expected.
*/
const OFFSET = 100;
export function Stream({
recitation,
surah,