Parcourir la source

update app/pages/home/Index.js

wudebin il y a 5 mois
Parent
commit
034843de06
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      Strides-SPAPP/app/pages/home/Index.js

+ 4 - 1
Strides-SPAPP/app/pages/home/Index.js

@@ -152,7 +152,7 @@ const CustomerDrawerContent = (props) => {
     <DrawerContentScrollView 
       {...props}
       canCancelContentTouches={true}
-      style={(app.v3.drawer && !app.isLumiWhitelabel) ? styles.contentV2 : {}}
+      style={(app.v3.drawer && !app.isLumiWhitelabel) ? styles.contentV2 : styles.content}
       contentContainerStyle={{paddingStart: 0, paddingEnd: 0}}>
       { app.v4.drawer
         ? <DrawerViewV4 {...props}/>
@@ -167,6 +167,9 @@ const CustomerDrawerContent = (props) => {
 }
 
 const styles = StyleSheet.create({
+  content: {
+    backgroundColor: colorLight
+  },
   contentV2: {
     width: $vw(75) > 320 ? 320 : $vw(75),
     backgroundColor: colorLight