Add "OFFSET" to Stream.tsx
This commit is contained in:
parent
3acdaf8a2a
commit
01d7e4f6fb
1 changed files with 8 additions and 0 deletions
|
@ -14,6 +14,14 @@ interface Props {
|
||||||
t: TFunction;
|
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({
|
export function Stream({
|
||||||
recitation,
|
recitation,
|
||||||
surah,
|
surah,
|
||||||
|
|
Loading…
Reference in a new issue