Compare commits
No commits in common. "aaf72d9122154fb6c822801fe24b33403c052106" and "9efd40e48cba262e0583f8fe8bc436da75e404fd" have entirely different histories.
aaf72d9122
...
9efd40e48c
4 changed files with 16 additions and 21 deletions
|
|
@ -127,7 +127,6 @@ function PlanexWebview(props: Props) {
|
|||
onMessage={props.onMessage}
|
||||
showAdvancedControls={false}
|
||||
showControls={props.currentGroup !== undefined}
|
||||
incognito={true}
|
||||
/>
|
||||
{!props.currentGroup ? (
|
||||
<ErrorView
|
||||
|
|
|
|||
|
|
@ -71,8 +71,7 @@ export default function RequestScreen<T>(props: Props<T>) {
|
|||
if (props.refresh !== lastRefresh.current) {
|
||||
lastRefresh.current = props.refresh === true;
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [props, loading]);
|
||||
}, [props, loading, refreshData]);
|
||||
|
||||
useFocusEffect(
|
||||
React.useCallback(() => {
|
||||
|
|
@ -90,8 +89,7 @@ export default function RequestScreen<T>(props: Props<T>) {
|
|||
clearInterval(refreshInterval.current);
|
||||
}
|
||||
};
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [props.cache, props.refreshOnFocus, props.autoRefreshTime])
|
||||
}, [props.cache, props.refreshOnFocus, props.autoRefreshTime, refreshData])
|
||||
);
|
||||
|
||||
const isErrorCritical = (e: API_REQUEST_CODES | undefined) => {
|
||||
|
|
|
|||
|
|
@ -58,7 +58,6 @@ type Props = {
|
|||
customPaddingFunction?: null | ((padding: number) => string);
|
||||
showAdvancedControls?: boolean;
|
||||
showControls?: boolean;
|
||||
incognito?: boolean;
|
||||
};
|
||||
|
||||
const AnimatedWebView = Animated.createAnimatedComponent(WebView);
|
||||
|
|
@ -273,7 +272,6 @@ function WebViewScreen(props: Props) {
|
|||
onLoad={() => injectJavaScript(getJavascriptPadding(containerPaddingTop))}
|
||||
// Animations
|
||||
onScroll={onScrollWithListener(onScroll)}
|
||||
incognito={props.incognito}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -101,13 +101,13 @@ export const CustomWhiteTheme: ReactNativePaper.Theme = {
|
|||
// Tetris
|
||||
tetrisBackground: '#f0f0f0',
|
||||
tetrisScore: '#e2bd33',
|
||||
tetrisI: '#be1522',
|
||||
tetrisO: '#EB6C1F',
|
||||
tetrisT: '#5cb85c',
|
||||
tetrisS: '#5294E2',
|
||||
tetrisZ: '#dede00',
|
||||
tetrisJ: '#69009d',
|
||||
tetrisL: '#553716',
|
||||
tetrisI: '#3cd9e6',
|
||||
tetrisO: '#ffdd00',
|
||||
tetrisT: '#a716e5',
|
||||
tetrisS: '#09c528',
|
||||
tetrisZ: '#ff0009',
|
||||
tetrisJ: '#2a67e3',
|
||||
tetrisL: '#da742d',
|
||||
|
||||
gameGold: '#ffd610',
|
||||
gameSilver: '#7b7b7b',
|
||||
|
|
@ -160,13 +160,13 @@ export const CustomDarkTheme: ReactNativePaper.Theme = {
|
|||
// Tetris
|
||||
tetrisBackground: '#181818',
|
||||
tetrisScore: '#e2d707',
|
||||
tetrisI: '#be1522',
|
||||
tetrisO: '#EB6C1F',
|
||||
tetrisT: '#5cb85c',
|
||||
tetrisS: '#5294E2',
|
||||
tetrisZ: '#dede00',
|
||||
tetrisJ: '#69009d',
|
||||
tetrisL: '#553716',
|
||||
tetrisI: '#30b3be',
|
||||
tetrisO: '#c1a700',
|
||||
tetrisT: '#9114c7',
|
||||
tetrisS: '#08a121',
|
||||
tetrisZ: '#b50008',
|
||||
tetrisJ: '#0f37b9',
|
||||
tetrisL: '#b96226',
|
||||
|
||||
gameGold: '#ffd610',
|
||||
gameSilver: '#7b7b7b',
|
||||
|
|
|
|||
Loading…
Reference in a new issue