11/**
22 * @flow
3- *
3+ *
44 * All About Olaf
55 * Student Work page
66 */
77
88import React from 'react'
9- import { StyleSheet , Platform , Text } from 'react-native'
9+ import { StyleSheet , Text } from 'react-native'
1010import * as c from '../../components/colors'
1111import SimpleListView from '../../components/listview'
1212import { ListSeparator , ListSectionHeader } from '../../components/list'
@@ -24,8 +24,6 @@ import type {JobType} from './types'
2424const jobsUrl =
2525 'https://www.stolaf.edu/apps/stuwork/index.cfm?fuseaction=getall&nostructure=1'
2626
27- const headerHeight = Platform . OS === 'ios' ? 33 : 41
28-
2927const jobSort = new Map ( [
3028 [ 'On-campus Work Study' , 1 ] ,
3129 [ 'Off-campus Community Service Work Study' , 2 ] ,
@@ -37,9 +35,6 @@ const styles = StyleSheet.create({
3735 listContainer : {
3836 backgroundColor : c . white ,
3937 } ,
40- rowSectionHeader : {
41- height : headerHeight ,
42- } ,
4338} )
4439
4540export default class StudentWorkView extends React . Component {
@@ -112,7 +107,7 @@ export default class StudentWorkView extends React.Component {
112107 }
113108
114109 renderSectionHeader = ( data : any , id : string ) => {
115- return < ListSectionHeader style = { styles . rowSectionHeader } title = { id } />
110+ return < ListSectionHeader title = { id } />
116111 }
117112
118113 render ( ) {
0 commit comments