geforkt von vergnet/application-amicale
Fixed crash on iOS
Dieser Commit ist enthalten in:
Ursprung
9eb925d1a1
Commit
759c369c93
1 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
|
@ -14,12 +14,13 @@ export const withCollapsible = (Component: any) => {
|
||||||
progress,
|
progress,
|
||||||
opacity,
|
opacity,
|
||||||
} = useCollapsibleStack();
|
} = useCollapsibleStack();
|
||||||
|
const statusbarHeight = StatusBar.currentHeight != null ? StatusBar.currentHeight : 0;
|
||||||
return <Component
|
return <Component
|
||||||
collapsibleStack={{
|
collapsibleStack={{
|
||||||
onScroll,
|
onScroll,
|
||||||
onScrollWithListener,
|
onScrollWithListener,
|
||||||
containerPaddingTop: containerPaddingTop - StatusBar.currentHeight,
|
containerPaddingTop: containerPaddingTop - statusbarHeight,
|
||||||
scrollIndicatorInsetTop: scrollIndicatorInsetTop - StatusBar.currentHeight,
|
scrollIndicatorInsetTop: scrollIndicatorInsetTop - statusbarHeight,
|
||||||
translateY,
|
translateY,
|
||||||
progress,
|
progress,
|
||||||
opacity,
|
opacity,
|
||||||
|
|
Laden …
In neuem Issue referenzieren