David 9 éve
szülő
commit
a3eb856d25
1 módosított fájl, 17 hozzáadás és 17 törlés
  1. 17 17
      src/scenes/Clase/Teoria.js

+ 17 - 17
src/scenes/Clase/Teoria.js

@@ -8,25 +8,25 @@ class Teoria extends Component {
 		//console.log("teoria", this.props);
 		return (
 			<View style={{flex:1}}>
-        <CardSection>
-          <Text>{this.props.titulo}</Text>
-        </CardSection>
+		        <CardSection>
+		          <Text>{this.props.titulo}</Text>
+		        </CardSection>
 
-        <CardSection>
-			<TouchableOpacity onPress={() => Actions.ViewProf({ id: this.props.profesor._id})}>
-				<Text>Profesor: </Text>
-				<Text style={{ color: '#007aff', fontWeight: '600'}}>
-					{this.props.profesor.nombre} {this.props.profesor.apellido}
-				</Text>
-			</TouchableOpacity>
-        </CardSection>
+		        <CardSection>
+					<TouchableOpacity onPress={() => Actions.ViewProf({ id: this.props.profesor._id})}>
+						<Text>Profesor: </Text>
+						<Text style={{ color: '#007aff', fontWeight: '600'}}>
+							{this.props.profesor.nombre} {this.props.profesor.apellido}
+						</Text>
+					</TouchableOpacity>
+		        </CardSection>
 
-        <CardSection style={{flex:1, alignItems:'stretch'}}>
-            <WebView
-              scalesPageToFit={true}
-              javaScriptEnabled={false}
-              source={{html: this.props.texto}} />
-        </CardSection>
+		        <CardSection style={{flex:1, alignItems:'stretch'}}>
+		            <WebView
+		              scalesPageToFit={true}
+		              javaScriptEnabled={false}
+		              source={{html: this.props.texto}} />
+		        </CardSection>
 			</View>
 		);
 	}