浏览代码

fix comments

David 9 年之前
父节点
当前提交
db1dced60d
共有 1 个文件被更改,包括 4 次插入6 次删除
  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 (