From aaf72d9122154fb6c822801fe24b33403c052106 Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Sat, 18 Sep 2021 11:52:50 +0200 Subject: [PATCH] feat: render planex in incognito mode Should hopefully fix the old planning being rendered issue --- src/components/Screens/PlanexWebview.tsx | 1 + src/components/Screens/WebViewScreen.tsx | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/components/Screens/PlanexWebview.tsx b/src/components/Screens/PlanexWebview.tsx index 67a1f7b..a44258f 100644 --- a/src/components/Screens/PlanexWebview.tsx +++ b/src/components/Screens/PlanexWebview.tsx @@ -127,6 +127,7 @@ function PlanexWebview(props: Props) { onMessage={props.onMessage} showAdvancedControls={false} showControls={props.currentGroup !== undefined} + incognito={true} /> {!props.currentGroup ? ( 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} /> ); }