David 9 rokov pred
rodič
commit
db1dced60d
1 zmenil súbory, kde vykonal 4 pridanie a 6 odobranie
  1. 4 6
      src/scenes/Clase/Comentarios.js

+ 4 - 6
src/scenes/Clase/Comentarios.js

@@ -42,12 +42,13 @@ class Comentarios extends Component {
             <Text>{item.fecha}</Text>
           </View>
         </View>
-        <CardSection>
-          <Text>{item.texto}</Text>
+        <CardSection style={{backgroundColor:'#eef'}}>
+          <Text style={{color:'#000'}}>{item.texto}</Text>
         </CardSection>
       </View>
     );
   }
+
   renderComentario(item) {
     const uri = this.imageUri(item.userid);
 
@@ -55,10 +56,7 @@ class Comentarios extends Component {
       return this.renderRespuesta(el);
     });
     if ( Arr != undefined && Arr.length > 0 ) {
-      Arr = (
-        <CardSection style={{backgroundColor:'#eef'}}>
-          {Arr}
-        </CardSection>);
+      Arr = <View style={{backgroundColor:'#eef'}}>{Arr}</View>;
     }
 
     return (