File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
source/views/sis/course-search/detail Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 11// @flow
22
33import React from 'react'
4- import { StyleSheet } from 'react-native'
4+ import { StyleSheet , Text } from 'react-native'
55import type { CourseType } from '../../../../lib/course-search'
66import glamorous from 'glamorous-native'
77import { Badge } from '../../../building-hours/detail/badge'
@@ -36,11 +36,6 @@ const SubHeader = glamorous.text({
3636 marginTop : 5 ,
3737} )
3838
39- const CellText = glamorous . text ( {
40- padding : 5 ,
41- color : c . black ,
42- } )
43-
4439const styles = StyleSheet . create ( {
4540 chunk : {
4641 paddingVertical : 10 ,
@@ -123,8 +118,11 @@ function Description({course}: {course: CourseType}) {
123118 return course . description ? (
124119 < Section header = "DESCRIPTION" sectionTintColor = { c . sectionBgColor } >
125120 < Cell
126- cellContentView = { < CellText > { course . description [ 0 ] } </ CellText > }
127- style = { styles . chunk }
121+ cellContentView = {
122+ < Text selectable = { true } style = { styles . chunk } >
123+ { course . description [ 0 ] }
124+ </ Text >
125+ }
128126 />
129127 </ Section >
130128 ) : null
You can’t perform that action at this time.
0 commit comments