Fix margins with the desktop scaffold

This commit is contained in:
2024-01-06 16:11:26 +01:00
committed by Clément Le Bihan
parent 359b20fc6d
commit cfc72b8bc1
3 changed files with 16 additions and 21 deletions
+1 -4
View File
@@ -187,10 +187,7 @@ const RouteToScreen = <T extends {}>(Component: Route<T>['component']) =>
<LinearGradient
colors={colorScheme === 'dark' ? ['#101014', '#6075F9'] : ['#cdd4fd', '#cdd4fd']}
style={{
width: '100%',
height: '100%',
position: 'absolute',
zIndex: -2,
flex: 1,
}}
>
<Component {...(props.route.params as T)} route={props.route} />