|
@@ -41,7 +41,7 @@ class Clase extends Component {
|
|
|
|
|
|
|
|
const ScrollableTabView = require('react-native-scrollable-tab-view');
|
|
const ScrollableTabView = require('react-native-scrollable-tab-view');
|
|
|
|
|
|
|
|
- const { titulo, profesor, texto, comentarios, respuestas, fecha } = this.props.clase;
|
|
|
|
|
|
|
+ const { titulo, profesor, texto, comentarios, respuestas, fecha, pdf } = this.props.clase;
|
|
|
|
|
|
|
|
const icon = local ? 'ios-star' : 'ios-star-outline';
|
|
const icon = local ? 'ios-star' : 'ios-star-outline';
|
|
|
const title = local ? 'Borrar clase' : 'Guardar clase';
|
|
const title = local ? 'Borrar clase' : 'Guardar clase';
|
|
@@ -53,7 +53,7 @@ class Clase extends Component {
|
|
|
<Teoria
|
|
<Teoria
|
|
|
titulo={titulo} profesor={profesor} fecha={fecha} texto={texto} style={{ flex: 1 }} tabLabel='Teoria'
|
|
titulo={titulo} profesor={profesor} fecha={fecha} texto={texto} style={{ flex: 1 }} tabLabel='Teoria'
|
|
|
/>
|
|
/>
|
|
|
- <Videos tabLabel='Videos' />
|
|
|
|
|
|
|
+ <Videos videos={pdf} tabLabel='Videos' />
|
|
|
<Comentarios
|
|
<Comentarios
|
|
|
style={{ flex: 1 }} comentarios={comentarios}
|
|
style={{ flex: 1 }} comentarios={comentarios}
|
|
|
titulo={titulo} profesor={profesor} fecha={fecha}
|
|
titulo={titulo} profesor={profesor} fecha={fecha}
|