forked from vergnet/application-amicale
feat: render planex in incognito mode
Should hopefully fix the old planning being rendered issue
This commit is contained in:
parent
1a696f0628
commit
aaf72d9122
2 changed files with 3 additions and 0 deletions
|
@ -127,6 +127,7 @@ function PlanexWebview(props: Props) {
|
|||
onMessage={props.onMessage}
|
||||
showAdvancedControls={false}
|
||||
showControls={props.currentGroup !== undefined}
|
||||
incognito={true}
|
||||
/>
|
||||
{!props.currentGroup ? (
|
||||
<ErrorView
|
||||
|
|
|
@ -58,6 +58,7 @@ type Props = {
|
|||
customPaddingFunction?: null | ((padding: number) => string);
|
||||
showAdvancedControls?: boolean;
|
||||
showControls?: boolean;
|
||||
incognito?: boolean;
|
||||
};
|
||||
|
||||
const AnimatedWebView = Animated.createAnimatedComponent(WebView);
|
||||
|
@ -272,6 +273,7 @@ function WebViewScreen(props: Props) {
|
|||
onLoad={() => injectJavaScript(getJavascriptPadding(containerPaddingTop))}
|
||||
// Animations
|
||||
onScroll={onScrollWithListener(onScroll)}
|
||||
incognito={props.incognito}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue